xarray.core.coordinates.DatasetCoordinates.to_dataset

DatasetCoordinates.to_dataset()

Convert these coordinates into a new Dataset