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
Cheukting committed Dec 15, 2017
1 parent 14cc5cf commit 9d16f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/core/generic.py
Expand Up @@ -3582,7 +3582,7 @@ def head(self, n=5):
5 parrot
6 shark
Viewing the first 5 lines (the default)
Viewing the first 5 lines
>>> df.head()
animal
0 bear
Expand Down Expand Up @@ -3633,7 +3633,7 @@ def tail(self, n=5):
5 parrot
6 shark
Viewing the last 5 lines (the default)
Viewing the last 5 lines
>>> df.tail()
animal
2 falcon
Expand Down

0 comments on commit 9d16f4a

Please sign in to comment.