pandas.core.groupby.GroupBy.pad

GroupBy.pad(limit=None)[source]

Forward fill the values.

Deprecated since version 1.4: Use ffill instead.

Parameters:
limitint, optional

Limit of how many values to fill.

Returns:
Series or DataFrame

Object with missing values filled.