xarray.core.groupby.DatasetGroupBy.assign_coords

xarray.core.groupby.DatasetGroupBy.assign_coords#

DatasetGroupBy.assign_coords(coords=None, **coords_kwargs)[source]#

Assign coordinates by group.

See also

Dataset.assign_coords, Dataset.swap_dims