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

Function test_isna

dask/dataframe/dask_expr/tests/test_collection.py:816–821  ·  view source on GitHub ↗
(pdf)

Source from the content-addressed store, hash-verified

814
815
816def test_isna(pdf):
817 pdf.iloc[list(range(0, len(pdf), 2)), 0] = np.nan
818 df = from_pandas(pdf, npartitions=10)
819 assert_eq(isna(df.x), pd.isna(pdf.x))
820 assert_eq(isna(df), pd.isna(pdf))
821 assert_eq(isna(pdf.x), pd.isna(pdf.x))
822
823
824def test_clear_divisions(df):

Callers

nothing calls this directly

Calls 4

from_pandasFunction · 0.90
assert_eqFunction · 0.90
isnaFunction · 0.90
isnaMethod · 0.45

Tested by

no test coverage detected