Dataset.to_dask_dataframe(dim_order=None, set_index=False)

Convert this dataset into a dask.dataframe.DataFrame.

The dimensions, coordinates and data variables in this dataset form the columns of the DataFrame.

Parameters
dim_orderlist, optional

Hierarchical dimension order for the resulting dataframe. All arrays are transposed to this order and then written out as flat vectors in contiguous order, so the last dimension in this list will be contiguous in the resulting DataFrame. This has a major influence on which operations are efficient on the resulting dask dataframe.

If provided, must include all dimensions on this dataset. By default, dimensions are sorted alphabetically.

set_indexbool, optional

If set_index=True, the dask DataFrame is indexed by this dataset’s coordinate. Since dask DataFrames to not support multi-indexes, set_index only works if the dataset only contains one dimension.

Returns