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

Function test_fillna_dask_dataframe_input

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

Source from the content-addressed store, hash-verified

2453
2454
2455def test_fillna_dask_dataframe_input():
2456 df = _compat.makeMissingDataFrame()
2457 df1 = _compat.makeMissingDataFrame()
2458 ddf = dd.from_pandas(df, npartitions=5)
2459 ddf1 = dd.from_pandas(df1, npartitions=3)
2460
2461 assert_eq(ddf.fillna(ddf1), df.fillna(df1))
2462
2463 ddf_unknown = dd.from_pandas(df, npartitions=5, sort=False)
2464 assert_eq(ddf_unknown.fillna(ddf1), df.fillna(df1))
2465
2466
2467def test_ffill_bfill():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
fillnaMethod · 0.45

Tested by

no test coverage detected