MCPcopy
hub / github.com/pandas-dev/pandas / clean_fill_method

Function clean_fill_method

pandas/core/missing.py:157–161  ·  view source on GitHub ↗
(
    method: Literal["ffill", "pad", "bfill", "backfill"],
    *,
    allow_nearest: Literal[False] = ...,
)

Source from the content-addressed store, hash-verified

155
156@overload
157def clean_fill_method(
158 method: Literal["ffill", "pad", "bfill", "backfill"],
159 *,
160 allow_nearest: Literal[False] = ...,
161) -> Literal["pad", "backfill"]: ...
162
163
164@overload

Callers 5

_pad_or_backfillMethod · 0.90
validate_fillna_kwargsFunction · 0.90
pad_or_backfill_inplaceFunction · 0.85
get_fill_funcFunction · 0.85

Calls 2

lowerMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected