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

Method ffill

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

Source from the content-addressed store, hash-verified

1991
1992 @derived_from(pd.DataFrame)
1993 def ffill(self, axis=0, limit=None):
1994 axis = _validate_axis(axis)
1995 if axis == 1:
1996 return self.map_partitions(M.ffill, axis=axis, limit=limit)
1997 frame = self
1998 if limit is None:
1999 frame = FillnaCheck(self, "ffill", lambda x: 0)
2000 return new_collection(FFill(frame, limit))
2001
2002 @derived_from(pd.DataFrame)
2003 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