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

Function test_enforce_runtime_divisions

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90

Tested by

no test coverage detected