dask.dataframe.DataFrame.to_records

dask.dataframe.DataFrame.to_records

DataFrame.to_records(index=False, lengths=None)[source]

Create Dask Array from a Dask Dataframe

Warning: This creates a dask.array without precise shape information. Operations that depend on shape information, like slicing or reshaping, will not work.

See also

dask.dataframe._Frame.values
dask.dataframe.from_dask_array

Examples

>>> df.to_records()