xray.DataArray.identical

DataArray.identical(other)

Like equals, but also checks the array name and attributes, and attributes on all coordinates.

See also

DataArray.broadcast_equals, DataArray.equal