MCPcopy
hub / github.com/dask/dask / test_reset_index

Function test_reset_index

dask/dataframe/dask_expr/tests/test_collection.py:1085–1089  ·  view source on GitHub ↗
(pdf, df, drop)

Source from the content-addressed store, hash-verified

1083
1084@pytest.mark.parametrize("drop", [True, False])
1085def test_reset_index(pdf, df, drop):
1086 assert_eq(df.reset_index(drop=drop), pdf.reset_index(drop=drop), check_index=False)
1087 assert_eq(
1088 df.x.reset_index(drop=drop), pdf.x.reset_index(drop=drop), check_index=False
1089 )
1090
1091
1092def test_head(pdf, df):

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
reset_indexMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…