MCPcopy Create free account
hub / github.com/dask/dask / ffill

Method ffill

dask/dataframe/dask_expr/_collection.py:1989–1996  ·  view source on GitHub ↗
(self, axis=0, limit=None)

Source from the content-addressed store, hash-verified

1987
1988 @derived_from(pd.DataFrame)
1989 def ffill(self, axis=0, limit=None):
1990 axis = _validate_axis(axis)
1991 if axis == 1:
1992 return self.map_partitions(M.ffill, axis=axis, limit=limit)
1993 frame = self
1994 if limit is None:
1995 frame = FillnaCheck(self, "ffill", lambda x: 0)
1996 return new_collection(FFill(frame, limit))
1997
1998 @derived_from(pd.DataFrame)
1999 def bfill(self, axis=0, limit=None):

Callers

nothing calls this directly

Calls 5

map_partitionsMethod · 0.95
_validate_axisFunction · 0.90
FillnaCheckClass · 0.90
new_collectionFunction · 0.90
FFillClass · 0.90

Tested by

no test coverage detected