You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The existing pandas Styler makes use of CSS extensively but is done so with a naïve parser. This has resulted in a number of hacky workaround to get values like the literal ; passed through, see #46239, #40596, #40422, and #41619.
Using a real parser here would remove the need for workaround.
There are also other cases that are currently impossible with the existing implementation. Eg. all CSS values passes into the Excel Styler get converted to lower case with no escape hatch.
Feature Description
Rip out all custom CSS parsing code and replace with a standard parser line tinycss/tinycss2. Both packages with relatively few additional dependencies.
Alternative Solutions
Write our own more complete CSS parser.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
lithomas1
added
Styler
conditional formatting using DataFrame.style
and removed
Needs Triage
Issue that has not been reviewed by a pandas team member
labels
Oct 5, 2022
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
The existing pandas Styler makes use of CSS extensively but is done so with a naïve parser. This has resulted in a number of hacky workaround to get values like the literal
;
passed through, see #46239, #40596, #40422, and #41619.Using a real parser here would remove the need for workaround.
There are also other cases that are currently impossible with the existing implementation. Eg. all CSS values passes into the Excel Styler get converted to lower case with no escape hatch.
Feature Description
Rip out all custom CSS parsing code and replace with a standard parser line tinycss/tinycss2. Both packages with relatively few additional dependencies.
Alternative Solutions
Write our own more complete CSS parser.
Additional Context
No response
The text was updated successfully, but these errors were encountered: