# dask.array.Array.to_dask_dataframe

Array.to_dask_dataframe(columns=None, index=None, meta=None)

  Convert dask Array to dask Dataframe

  Parameters:
    columns: list or string

      list of column names if DataFrame, single string if Series

    index dask.dataframe.Index, optional

      An optional dask Index to use for the output Series or DataFrame.

      The default output index depends on whether the array has any unknown chunks. If there are any unknown chunks, the output has `None` for all the divisions (one per chunk). If all the chunks are known, a default index with known divisions is created.

      Specifying `index` can be useful if you’re conforming a Dask Array to an existing dask Series or DataFrame, and you would like the indices to match.

    meta object, optional

      An optional meta parameter can be passed for dask to specify the concrete dataframe type to use for partitions of the Dask dataframe. By default, pandas DataFrame is used.

  See also

  `dask.dataframe.from_dask_array`