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

Function test_items

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

Source from the content-addressed store, hash-verified

2533
2534
2535def test_items(df, pdf):
2536 expect = list(pdf.items())
2537 actual = list(df.items())
2538 assert len(expect) == len(actual)
2539 for (expect_name, expect_col), (actual_name, actual_col) in zip(expect, actual):
2540 assert expect_name == actual_name
2541 assert_eq(expect_col, actual_col)
2542
2543
2544def test_isin_strings():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
itemsMethod · 0.45

Tested by

no test coverage detected