We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Dit had ik nodig om pandas DataFrames in de PDF te laten verschijnen
# set options to display DataFrames in PDF pd.set_option("display.latex.repr", True) pd.set_option("display.latex.longtable", True) def _repr_latex_(self): latex = """\\begin{center} {%s} \\end{center}""" % self.to_latex(float_format="{:0.2f}".format, bold_rows=True) return latex pd.DataFrame._repr_latex_ = _repr_latex_ # monkey patch pandas DataFrame
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dit had ik nodig om pandas DataFrames in de PDF te laten verschijnen
The text was updated successfully, but these errors were encountered: