GroupBy.
pad
Forward fill the values.
Limit of how many values to fill.
Object with missing values filled.
See also
Series.pad
DataFrame.pad
Series.fillna
DataFrame.fillna