xarray.IndexVariable.broadcast_equals

IndexVariable.broadcast_equals(other, equiv=<function array_equiv>)[source]

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.