Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.DataFrame.backfill#

DataFrame.backfill(*,axis=None,inplace=False,limit=None,downcast=<no_default>)[source]#

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

Deprecated since version 2.0:Series/DataFrame.backfill is deprecated. Use Series/DataFrame.bfill instead.

Returns:
Series/DataFrame or None

Object with missing values filled or None ifinplace=True.

Examples

Please see examples forDataFrame.bfill() orSeries.bfill().


[8]ページ先頭

©2009-2025 Movatter.jp