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

Function test_len

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

Source from the content-addressed store, hash-verified

1315
1316
1317def test_len():
1318 assert len(d) == len(full)
1319 assert len(d.a) == len(full.a)
1320 assert len(dd.from_pandas(pd.DataFrame(), npartitions=1)) == 0
1321 assert len(dd.from_pandas(pd.DataFrame(columns=[1, 2]), npartitions=1)) == 0
1322 # Regression test for https://github.com/dask/dask/issues/6110
1323 assert len(dd.from_pandas(pd.DataFrame(columns=["foo", "foo"]), npartitions=1)) == 0
1324
1325
1326def test_size():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected