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

Function test_enforce_runtime_divisions

dask/dataframe/tests/test_dataframe.py:5310–5314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5308
5309
5310def test_enforce_runtime_divisions():
5311 pdf = pd.DataFrame({"x": range(50)})
5312 ddf = dd.from_pandas(pdf, 5)
5313 # Default divisions should be correct
5314 assert_eq(pdf, ddf.enforce_runtime_divisions())
5315
5316
5317def test_preserve_ts_unit_in_meta_creation():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90

Tested by

no test coverage detected