xray.DataArray.to_series

DataArray.to_series()

Convert this array into a pandas.Series.

The Series is indexed by the Cartesian product of the coordinates. Unlike to_dataframe, only this array is including in the returned series; the other non-coordinates variables in the dataset are not.