pandas.api.extensions.ExtensionArray.equals

ExtensionArray.equals(other)[source]

Return if another array is equivalent to this array.

Equivalent means that both arrays have the same shape and dtype, and all values compare equal. Missing values in the same location are considered equal (in contrast with normal equality).

Parameters
otherExtensionArray

Array to compare to this Array.

Returns
boolean

Whether the arrays are equivalent.