xorbits.pandas.DataFrame.backfill#

DataFrame.backfill(axis=None, inplace=False, limit=None)#

Fill NA/NaN values by using the next valid observation to fill the gap.

2.0(pandas) 版后已移除: Series/DataFrame.backfill is deprecated. Use Series/DataFrame.bfill instead.

返回

Object with missing values filled or None if inplace=True.

返回类型

Series/DataFrame or None

实际案例

Please see examples for DataFrame.bfill() or Series.bfill().

This docstring was copied from pandas.core.frame.DataFrame.