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

Method ffill

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

Source from the content-addressed store, hash-verified

2027
2028 @derived_from(pd.DataFrame)
2029 def ffill(self, axis=0, limit=None):
2030 axis = _validate_axis(axis)
2031 if axis == 1:
2032 return self.map_partitions(M.ffill, axis=axis, limit=limit)
2033 frame = self
2034 if limit is None:
2035 frame = FillnaCheck(self, "ffill", lambda x: 0)
2036 return new_collection(FFill(frame, limit))
2037
2038 @derived_from(pd.DataFrame)
2039 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