diff --git a/pandas/core/generic.py b/pandas/core/generic.py index cef1e551f948e..6d1cbdc3785cd 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1047,8 +1047,9 @@ def __invert__(self): def equals(self, other): """ - Determines if two NDFrame objects contain the same elements. NaNs in - the same location are considered equal. + Determines if two NDFrame objects have equal columns labels, equal + elements, and the same dtypes at corresponding locations. NaNs in the + same location are considered equal. """ if not isinstance(other, self._constructor): return False