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

Function test_isna

dask/dataframe/tests/test_dataframe.py:4341–4345  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

4339
4340@pytest.mark.parametrize("values", [[np.nan, 0], [1, 1]])
4341def test_isna(values):
4342 s = pd.Series(values)
4343 ds = dd.from_pandas(s, npartitions=2)
4344
4345 assert_eq(pd.isna(s), dd.isna(ds))
4346
4347
4348@pytest.mark.parametrize("drop", [0, 9])

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
isnaMethod · 0.45

Tested by

no test coverage detected