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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the master branch of pandas.
df = DataFrame([[0], [1]], index=[0, 1]) styler = df.style styler.applymap(lambda x: "color: red;" if x == 0 else "") styler.applymap_index(lambda x: "color: blue;" if x == 0 else "") print(styler.to_latex(convert_css=True)) \begin{tabular}{lr} & 0 \\ \colorblue 0 & \color{red} 0 \\ 1 & 1 \\ \end{tabular}
the new method applymap_index has not been hooked up to the CSS conversion for styler.to_latex.
should convert to color{blue}
color{blue}
master
The text was updated successfully, but these errors were encountered:
Styler.apply_index
Successfully merging a pull request may close this issue.
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the master branch of pandas.
Reproducible Example
Issue Description
the new method applymap_index has not been hooked up to the CSS conversion for styler.to_latex.
Expected Behavior
should convert to
color{blue}
Installed Versions
master
The text was updated successfully, but these errors were encountered: