Skip to content

Commit 25be2f2

Browse files
DOC: fix namespace
1 parent 016dbe6 commit 25be2f2

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
@@ -1503,9 +1503,9 @@ faster than sorting the entire Series and calling ``head(n)`` on the result.
15031503

15041504
.. ipython:: python
15051505
1506-
df = DataFrame({'a': [-2, -1, 1, 10, 8, 11, -1],
1507-
'b': list('abdceff'),
1508-
'c': [1.0, 2.0, 4.0, 3.2, np.nan, 3.0, 4.0]})
1506+
df = pd.DataFrame({'a': [-2, -1, 1, 10, 8, 11, -1],
1507+
'b': list('abdceff'),
1508+
'c': [1.0, 2.0, 4.0, 3.2, np.nan, 3.0, 4.0]})
15091509
df.nlargest(3, 'a')
15101510
df.nlargest(5, ['a', 'c'])
15111511
df.nsmallest(3, 'a')

0 commit comments

Comments
 (0)