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

Add a method to save TableReports to a file #1174

Open
jeromedockes opened this issue Dec 3, 2024 · 1 comment · May be fixed by #1190
Open

Add a method to save TableReports to a file #1174

jeromedockes opened this issue Dec 3, 2024 · 1 comment · May be fixed by #1190
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers TableReport anything related to the TableReport

Comments

@jeromedockes
Copy link
Member

jeromedockes commented Dec 3, 2024

Problem Description

mentioned in this comment: should we have a slightly easier way to save a tablereport to a file?

Feature Description

report = TableReport(df)

we could do

report.write("/tmp/report.html")

or maybe report.save

instead of

with open("/tmp/report.html", "w", encoding="utf-8") as f:
    f.write(report.html())
@jeromedockes jeromedockes added enhancement New feature or request good first issue Good for newcomers TableReport anything related to the TableReport labels Dec 3, 2024
@mrastgoo
Copy link
Contributor

mrastgoo commented Dec 6, 2024

I am working on it

@jeromedockes jeromedockes moved this from Todo to In Progress in PyLadiesCon 2024 online sprint Dec 6, 2024
@mrastgoo mrastgoo linked a pull request Dec 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers TableReport anything related to the TableReport
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants