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

Function test_axes

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

Source from the content-addressed store, hash-verified

195
196
197def test_axes():
198 pdf = pd.DataFrame({"col1": [1, 2], "col2": [3, 4]})
199 df = dd.from_pandas(pdf, npartitions=2)
200 assert len(df.axes) == len(pdf.axes)
201 assert all(assert_eq(d, p) for d, p in zip(df.axes, pdf.axes))
202
203
204def test_series_axes():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
allFunction · 0.85

Tested by

no test coverage detected