We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6363ca commit 5a9e68eCopy full SHA for 5a9e68e
pandas/core/generic.py
@@ -3578,17 +3578,17 @@ def head(self, n=5):
3578
5 bee
3579
6 bear
3580
3581
- Viewing the last 5 lines (the default)
3582
- >>> df.head()
+ Viewing the last 5 lines (the default)
+ >>> df.head()
3583
animal
3584
0 falcon
3585
1 parrot
3586
2 lion
3587
3 monkey
3588
4 shark
3589
3590
- Viewing the last n lines (three in this case)
3591
- >>> df.head(3)
+ Viewing the last n lines (three in this case)
+ >>> df.head(3)
3592
3593
3594
0 commit comments