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

Function test_with_boundary

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

dropMethod · 0.95

Tested by

no test coverage detected