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

Function test_object_missing_values

dask/dataframe/tests/test_hashing.py:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58
59
60def test_object_missing_values():
61 # Check that the presence of missing values doesn't change how object dtype
62 # is hashed.
63 s = pd.Series(["a", "b", "c", None])
64 h1 = hash_pandas_object(s).iloc[:3]
65 h2 = hash_pandas_object(s.iloc[:3])
66 tm.assert_series_equal(h1, h2)
67
68
69@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected