Skip to content

Commit 4e40a64

Browse files
DOC: fix example of GH8512 name clash with following examples
1 parent 316f9fa commit 4e40a64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/basics.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -322,10 +322,10 @@ equality to be True:
322322

323323
.. ipython:: python
324324
325-
df = DataFrame({'col':['foo', 0, np.nan]})
325+
df1 = DataFrame({'col':['foo', 0, np.nan]})
326326
df2 = DataFrame({'col':[np.nan, 0, 'foo']}, index=[2,1,0])
327-
df.equals(df2)
328-
df.equals(df2.sort())
327+
df1.equals(df2)
328+
df1.equals(df2.sort())
329329
330330
331331
Combining overlapping data sets

0 commit comments

Comments
 (0)