Skip to content

Commit 46f0634

Browse files
Marco GorelliMarcoGorelli
authored andcommitted
📝 update failing docstring
1 parent 6299035 commit 46f0634

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pandas/core/series.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,10 +1449,12 @@ def to_markdown(self, **kwargs):
14491449
--------
14501450
>>> s = pd.Series([1, 2, 3, 4])
14511451
>>> print(s.to_markdown())
1452-
| | col1 | col2 |
1453-
|---:|-------:|-------:|
1454-
| 0 | 1 | 3 |
1455-
| 1 | 2 | 4 |
1452+
| | 0 |
1453+
|---:|----:|
1454+
| 0 | 1 |
1455+
| 1 | 2 |
1456+
| 2 | 3 |
1457+
| 3 | 4 |
14561458
"""
14571459
return self.to_frame().to_markdown(**kwargs)
14581460

0 commit comments

Comments
 (0)