xarray.DataArray.identical#

DataArray.identical(other)[source]#

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

Parameters

other (DataArray) – DataArray to compare to.

Returns

equal (bool) – True if the two DataArrays are identical.