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

Function test_with_boundary

dask/dataframe/tests/test_dataframe.py:4430–4435  ·  view source on GitHub ↗
(start, stop, right_boundary, left_boundary, drop)

Source from the content-addressed store, hash-verified

4428 ],
4429)
4430def test_with_boundary(start, stop, right_boundary, left_boundary, drop):
4431 x = np.array([-1, -2, 2, 4, 3])
4432 df = pd.DataFrame({"B": range(len(x))}, index=x)
4433 result = methods.boundary_slice(df, start, stop, right_boundary, left_boundary)
4434 expected = df.drop(drop)
4435 tm.assert_frame_equal(result, expected)
4436
4437
4438@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

dropMethod · 0.95

Tested by

no test coverage detected