From e8aad69b91f9d28b017b7f763afc41b5359ce32e Mon Sep 17 00:00:00 2001 From: Martin Winkel Date: Sat, 9 Nov 2019 00:20:15 +0100 Subject: [PATCH] updated DataFrame.equals docstring --- pandas/core/generic.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index c3788baec030a..49df374670577 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1472,10 +1472,11 @@ def equals(self, other): DataFrame.eq : Compare two DataFrame objects of the same shape and return a DataFrame where each element is True if the respective element in each DataFrame is equal, False otherwise. - assert_series_equal : Return True if left and right Series are equal, - False otherwise. - assert_frame_equal : Return True if left and right DataFrames are - equal, False otherwise. + testing.assert_series_equal : Raises an AssertionError if left and + right are not equal. Provides an easy interface to ignore + inequality in dtypes, indexes and precision among others. + testing.assert_frame_equal : Like assert_series_equal, but targets + DataFrames. numpy.array_equal : Return True if two arrays have the same shape and elements, False otherwise.