Skip to content

Commit c1f1c24

Browse files
SaturnFromTitanproost
authored andcommitted
updated DataFrame.equals docstring (pandas-dev#29496)
1 parent d44b6dd commit c1f1c24

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pandas/core/generic.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1472,10 +1472,11 @@ def equals(self, other):
14721472
DataFrame.eq : Compare two DataFrame objects of the same shape and
14731473
return a DataFrame where each element is True if the respective
14741474
element in each DataFrame is equal, False otherwise.
1475-
assert_series_equal : Return True if left and right Series are equal,
1476-
False otherwise.
1477-
assert_frame_equal : Return True if left and right DataFrames are
1478-
equal, False otherwise.
1475+
testing.assert_series_equal : Raises an AssertionError if left and
1476+
right are not equal. Provides an easy interface to ignore
1477+
inequality in dtypes, indexes and precision among others.
1478+
testing.assert_frame_equal : Like assert_series_equal, but targets
1479+
DataFrames.
14791480
numpy.array_equal : Return True if two arrays have the same shape
14801481
and elements, False otherwise.
14811482

0 commit comments

Comments
 (0)