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

Function test_dataset_head

dask/dataframe/dask_expr/tests/test_datasets.py:119–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117
118
119def test_dataset_head():
120 ddf = timeseries(freq="1D")
121 expected = ddf.compute()
122 assert_eq(ddf.head(30, npartitions=-1), expected)
123 assert_eq(ddf.head(30, npartitions=-1, compute=False), expected)

Callers

nothing calls this directly

Calls 4

timeseriesFunction · 0.90
assert_eqFunction · 0.90
computeMethod · 0.45
headMethod · 0.45

Tested by

no test coverage detected