Skip to content

Commit de4b0bb

Browse files
Merge pull request pandas-dev#8579 from jorisvandenbossche/doc-fixes015
DOC: fix example of GH8512 name clash with following examples
2 parents 316f9fa + 4e40a64 commit de4b0bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/basics.rst

Lines changed: 3 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy