Skip to content

Followup to Conditional HTML Styling #11610

Closed
@TomAugspurger

Description

@TomAugspurger

Follows #10250

For 0.17.1

  • Nicer table styling for the pydata.org website
  • Include a visual example in 0.17.1.rst
  • remove doc/source/html-styling.html and find a way to include doc/source/html-styling.ipynb in the doc build (should use --template=basic)
  • update print_versions
  • update requirements_all.txt to include jinja

For 0.18.0 / Future

  • sparsify MultiIndex repr (maybe push till 0.18)
  • easy alignment styles Right align numbers in HTML repr of tables #12144
  • Template modification: This is for things like wrapping base64 encoded values in img tags, urls, etc. flows into...
  • Break the large template in Styler.template into smaller blocks. Let people extend that. We could (maybe) allow users to choose which template to use to render each column/cell with solving the template modification problem
  • Truncated repr
  • hook into pd.options, allow setting of default reprs with styles
  • Refactor parts of Styler into a BaseStyler, maybe add a LaTeX styler (maybe deprecate / replace the to_html and to_latex methods; Jinja templates are much more pleasant to work with), xref CLN/API: implemented to_html in terms of .style #11700
  • Categoricals / Boolens builtin stylings

will add more as we go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementIO HTMLread_html, to_html, Styler.apply, Styler.applymapStylerconditional formatting using DataFrame.style

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions