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

Function foo

dask/dataframe/tests/test_dataframe.py:5362–5363  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

5360
5361def test_array_to_df_conversion():
5362 def foo(arr):
5363 return pd.DataFrame(arr)
5364
5365 arr = da.random.random((100, 10), chunks=(10, 10))
5366 result = arr.map_blocks(foo, meta=pd.DataFrame(np.random.random((1, 10))))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected