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

Print DataFrame in LaTex #6454

Closed
waynelapierre opened this issue Jan 26, 2023 · 3 comments
Closed

Print DataFrame in LaTex #6454

waynelapierre opened this issue Jan 26, 2023 · 3 comments
Labels
enhancement New feature or an improvement of an existing feature

Comments

@waynelapierre
Copy link

Problem description

Thanks for this great package! Being able to print DataFrames in LaTeX will be a huge blessing for academic researchers. Pandas has this feature:
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_latex.html.

@waynelapierre waynelapierre added the enhancement New feature or an improvement of an existing feature label Jan 26, 2023
@ritchie46
Copy link
Member

Would a to_pandas().to_latex() suffice? I mean, the size of the table you want to render is likely very small right?

@MarcoGorelli
Copy link
Collaborator

Polars now has a .style namespace, which defers to great-tables - to_latex is on their roadmap posit-dev/great-tables#178

there's been no activity on this issue for ~1.5 years, so I'll take the liberty of closing in favour of their issue

@apoorvkh
Copy link

FYI great-tables has now implemented to_latex (see issue above) 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

4 participants