xarray.IndexVariable.broadcast_equals

IndexVariable.broadcast_equals(self, other, equiv=<function array_equiv at 0x7f24f5b58ee0>)

True if two Variables have the values after being broadcast against each other; otherwise False.

Variables can still be equal (like pandas objects) if they have NaN values in the same locations.