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.