xarray.Index.join#

Index.join(other, how='inner')[source]#

Return a new index from the combination of this index with another index of the same type.

Implementation is optional but required in order to support alignment.

Parameters:
  • other (Index) – The other Index object to combine with this index.

  • join (str, optional) – Method for joining the two indexes (see align()).

Returns:

joined (Index) – A new Index object.