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

Function test_array_conversion

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

Source from the content-addressed store, hash-verified

2542
2543
2544def test_array_conversion(df, pdf):
2545 import dask.array as da
2546
2547 result = df.map_partitions(lambda x: np.asarray(x))
2548 expected = np.asarray(pdf)
2549 da.utils.assert_eq(result, expected)
2550
2551
2552def test_reset_index_filter_pushdown(df, pdf):

Callers

nothing calls this directly

Calls 1

map_partitionsMethod · 0.45

Tested by

no test coverage detected