Skip to content

Commit a90ea6d

Browse files
Berra Marcoxrmx
Berra Marco
authored andcommitted
DOC: update the pandas.Series.tail docstring
1 parent 4131149 commit a90ea6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: pandas/core/generic.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3669,12 +3669,12 @@ def tail(self, n=5):
36693669
36703670
Returns
36713671
-------
3672-
obj_tail : type of caller
3673-
The last n rows of the caller object.
3672+
type of caller
3673+
The last `n` rows of the caller object.
36743674
36753675
See Also
36763676
--------
3677-
pandas.DataFrame.head
3677+
pandas.DataFrame.head : The first `n` rows of the caller object.
36783678
36793679
Examples
36803680
--------

Diff for: pandas/core/indexes/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ def to_frame(self, index=True):
11561156
>>> idx = pd.Index(['Ant', 'Bear', 'Cow'], name='animal')
11571157
>>> idx.to_frame()
11581158
animal
1159-
animal
1159+
animal
11601160
Ant Ant
11611161
Bear Bear
11621162
Cow Cow

0 commit comments

Comments
 (0)