Skip to content

Commit

Permalink
DOC: Adding example and See also to head and tail method (pandas-dev#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ho committed Dec 15, 2017
1 parent 0abe91c commit 43feae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3625,8 +3625,8 @@ def tail(self, n=5):
Examples
--------
>>> df = pd.DataFrame({'animal':['falcon', 'parrot', 'lion',
... 'monkey', 'shark', 'bee', 'bear']})
>>> df = pd.DataFrame({'animal':['alligator', 'bee', 'falcon', 'lion',
... 'monkey', 'parrot', 'shark', 'whale', 'zebra']})
>>> df
animal
0 alligator
Expand Down

0 comments on commit 43feae9

Please sign in to comment.