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

Function test_ffill_bfill

dask/dataframe/tests/test_dataframe.py:2469–2476  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2467
2468
2469def test_ffill_bfill():
2470 df = _compat.makeMissingDataFrame()
2471 ddf = dd.from_pandas(df, npartitions=5, sort=False)
2472
2473 assert_eq(ddf.ffill(), df.ffill())
2474 assert_eq(ddf.bfill(), df.bfill())
2475 assert_eq(ddf.ffill(axis=1), df.ffill(axis=1))
2476 assert_eq(ddf.bfill(axis=1), df.bfill(axis=1))
2477
2478
2479def test_fillna_series_types():

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
ffillMethod · 0.45
bfillMethod · 0.45

Tested by

no test coverage detected