MCPcopy Index your code
hub / github.com/dask/dask / FFill

Class FFill

dask/dataframe/dask_expr/_expr.py:3405–3435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3403
3404
3405class FFill(MapOverlap):
3406 _parameters = ["frame", "limit"]
3407 _defaults = {"limit": None}
3408 func = M.ffill
3409 enforce_metadata = True
3410 transform_divisions = False
3411 clear_divisions = False
3412 align_dataframes = True
3413
3414 def _divisions(self):
3415 return self.frame.divisions
3416
3417 @functools.cached_property
3418 def _meta(self):
3419 return self.frame._meta
3420
3421 def _simplify_up(self, parent, dependents):
3422 if isinstance(parent, Projection):
3423 return plain_column_projection(self, parent, dependents)
3424
3425 @functools.cached_property
3426 def kwargs(self):
3427 return dict(limit=self.limit)
3428
3429 @property
3430 def before(self):
3431 return 1 if self.limit is None else self.limit
3432
3433 @property
3434 def after(self):
3435 return 0
3436
3437
3438class BFill(FFill):

Callers 1

ffillMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…