DataArray.reindex(copy=True, **indexers)

Conform this object onto a new set of indexes, filling in missing values with NaN.


copy : bool, optional

If copy=True, the returned array’s dataset contains only copied variables. If copy=False and no reindexing is required then original variables from this array’s dataset are returned.

**indexers : dict

Dictionary with keys given by dimension names and values given by arrays of coordinates tick labels. Any mis-matched coordinate values will be filled in with NaN, and any mis-matched dimension names will simply be ignored.


reindexed : DataArray

Another dataset array, with this array’s data but replaced coordinates.