pandas / 0.25.0 / reference / api / pandas.core.groupby.groupby.ffill.html /

pandas.core.groupby.GroupBy.ffill

GroupBy.ffill(self, limit=None) [source]

Forward fill the values.

Parameters:
limit : integer, optional

limit of how many values to fill

Returns:
Series or DataFrame

Object with missing values filled.

See also

Series.pad
DataFrame.pad
Series.fillna
DataFrame.fillna

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.core.groupby.GroupBy.ffill.html