Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown output in summary functions #366

Open
perdelt opened this issue Nov 1, 2024 · 1 comment
Open

Markdown output in summary functions #366

perdelt opened this issue Nov 1, 2024 · 1 comment
Assignees

Comments

@perdelt
Copy link
Collaborator

perdelt commented Nov 1, 2024

  • bullets for lists
  • tables for df output
  • rename _summary.txt to _summary.md
@perdelt perdelt added this to the v0.7.7 - Markdown Output milestone Nov 1, 2024
@perdelt perdelt self-assigned this Nov 1, 2024
@perdelt perdelt moved this to near future in Clustermanagement Dec 19, 2024
@perdelt
Copy link
Collaborator Author

perdelt commented Jan 23, 2025

import pandas as pd
df = pd.DataFrame(
     data={"animal_1": ["1", "2"], "animal_2": ["3", "4"]}
)
print(df.to_markdown(index=False))

yields

|   animal_1 |   animal_2 |
|-----------:|-----------:|
|          1 |          3 |
|          2 |          4 |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: near future
Development

No branches or pull requests

1 participant