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

Function test_items

dask/dataframe/dask_expr/tests/test_collection.py:2498–2504  ·  view source on GitHub ↗
(df, pdf)

Source from the content-addressed store, hash-verified

2496
2497
2498def test_items(df, pdf):
2499 expect = list(pdf.items())
2500 actual = list(df.items())
2501 assert len(expect) == len(actual)
2502 for (expect_name, expect_col), (actual_name, actual_col) in zip(expect, actual):
2503 assert expect_name == actual_name
2504 assert_eq(expect_col, actual_col)
2505
2506
2507def test_isin_strings():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
itemsMethod · 0.45

Tested by

no test coverage detected