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

Function test_with_boundary

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

Source from the content-addressed store, hash-verified

4407 ],
4408)
4409def test_with_boundary(start, stop, right_boundary, left_boundary, drop):
4410 x = np.array([-1, -2, 2, 4, 3])
4411 df = pd.DataFrame({"B": range(len(x))}, index=x)
4412 result = methods.boundary_slice(df, start, stop, right_boundary, left_boundary)
4413 expected = df.drop(drop)
4414 tm.assert_frame_equal(result, expected)
4415
4416
4417@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

dropMethod · 0.95

Tested by

no test coverage detected