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

Function test_reset_index

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

Source from the content-addressed store, hash-verified

1137
1138@pytest.mark.parametrize("drop", [True, False])
1139def test_reset_index(pdf, df, drop):
1140 assert_eq(df.reset_index(drop=drop), pdf.reset_index(drop=drop), check_index=False)
1141 assert_eq(
1142 df.x.reset_index(drop=drop), pdf.x.reset_index(drop=drop), check_index=False
1143 )
1144
1145
1146def 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