📜  python pandas markdown print export - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:00.784000             🧑  作者: Mango

代码示例1
>>> s = pd.Series(["elk", "pig", "dog", "quetzal"], name="animal")
>>> print(s.to_markdown())
|    | animal   |
|---:|:---------|
|  0 | elk      |
|  1 | pig      |
|  2 | dog      |
|  3 | quetzal  |