Skip to content

Commit 2b9e93c

Browse files
DOC: fix equals docstring for docstring validation
1 parent f96a7ab commit 2b9e93c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/generic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,6 @@ def equals(self, other: object) -> bool:
14591459
14601460
DataFrames with NaN in the same locations compare equal.
14611461
1462-
>>> import numpy as np
14631462
>>> df_nan1 = pd.DataFrame({"a": [1, np.nan], "b": [3, np.nan]})
14641463
>>> df_nan2 = pd.DataFrame({"a": [1, np.nan], "b": [3, np.nan]})
14651464
>>> df_nan1.equals(df_nan2)

0 commit comments

Comments
 (0)