def _equal_values(self, other) -> bool: """ Used in .equals defined in base class. Only check the column values assuming shape and indexes have already been checked. """ for left, right in zip(self.arrays, other.arrays): if not array_equals(left, right): return False else: return True
def _equal_values(self, other) -> bool: """ Used in .equals defined in base class. Only check the column values assuming shape and indexes have already been checked. """ for left, right in zip(self.arrays, other.arrays): # error: Value of type variable "ArrayLike" of "array_equals" cannot be # "Union[Any, ndarray, ExtensionArray]" if not array_equals(left, right): # type: ignore[type-var] return False else: return True