Skip to content

Commit cf2710d

Browse files
authored
DOC: Improve df.equals() docstring (#56458)
* DOC: Improve df.equals() docstring * Update generic.py * Update
1 parent e552626 commit cf2710d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1451,8 +1451,8 @@ def equals(self, other: object) -> bool_t:
14511451
the same location are considered equal.
14521452
14531453
The row/column index do not need to have the same type, as long
1454-
as the values are considered equal. Corresponding columns must be of
1455-
the same dtype.
1454+
as the values are considered equal. Corresponding columns and
1455+
index must be of the same dtype.
14561456
14571457
Parameters
14581458
----------

0 commit comments

Comments
 (0)