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

Function assert_series

dask/dataframe/tests/test_dataframe.py:5376–5378  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

5374 ddf = dd.from_pandas(pdf, npartitions)
5375
5376 def assert_series(x):
5377 assert isinstance(x, pd.Series)
5378 return x
5379
5380 res = ddf.x.map_partitions(M.min).map_partitions(assert_series).compute()
5381 assert len(res) == ddf.npartitions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected