Skip to content

Commit 43feae9

Browse files
author
Ho
committed
DOC: Adding example and See also to head and tail method (#16416)
1 parent 0abe91c commit 43feae9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3625,8 +3625,8 @@ def tail(self, n=5):
36253625
36263626
Examples
36273627
--------
3628-
>>> df = pd.DataFrame({'animal':['falcon', 'parrot', 'lion',
3629-
... 'monkey', 'shark', 'bee', 'bear']})
3628+
>>> df = pd.DataFrame({'animal':['alligator', 'bee', 'falcon', 'lion',
3629+
... 'monkey', 'parrot', 'shark', 'whale', 'zebra']})
36303630
>>> df
36313631
animal
36323632
0 alligator

0 commit comments

Comments
 (0)