We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6299035 commit 46f0634Copy full SHA for 46f0634
pandas/core/series.py
@@ -1449,10 +1449,12 @@ def to_markdown(self, **kwargs):
1449
--------
1450
>>> s = pd.Series([1, 2, 3, 4])
1451
>>> print(s.to_markdown())
1452
- | | col1 | col2 |
1453
- |---:|-------:|-------:|
1454
- | 0 | 1 | 3 |
1455
- | 1 | 2 | 4 |
+ | | 0 |
+ |---:|----:|
+ | 0 | 1 |
+ | 1 | 2 |
1456
+ | 2 | 3 |
1457
+ | 3 | 4 |
1458
"""
1459
return self.to_frame().to_markdown(**kwargs)
1460
0 commit comments