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 page lacks links to the referenced objects (DataFrame, Series, ... but most importantly Styler).
Suggested fix for documentation
Links should be included. This could either be done using raw reST cells (which looks not as nice in the downloadable notebook) or by inserting relative links into the markdown code (which breaks easily).
The text was updated successfully, but these errors were encountered:
It creates links in the jupyter notebook that sphinx can parse. Such as:
Styling should be performed after the data in a DataFrame has been processed.
The [Styler][styler] creates an HTML `<table>` and leverages CSS styling language to
manipulate many parameters including colors, fonts, borders, background, etc.
See [here][w3schools] for more information on styling HTML tables.
This allows a lot of flexibility out of the box, and even enables web developers to
integrate DataFrames into their exiting user interface designs.
The `DataFrame.style` attribute is a property that returns a [Styler][styler] object.
It has a `_repr_html_` method defined on it so they are rendered automatically in Jupyter Notebook.
[styler]: ../reference/api/pandas.io.formats.style.Styler.rst
[w3schools]: https://www.w3schools.com/html/html_tables.asp
attack68
added
Styler
conditional formatting using DataFrame.style
and removed
Needs Triage
Issue that has not been reviewed by a pandas team member
labels
Mar 26, 2021
Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/user_guide/style.html
Documentation problem
The page lacks links to the referenced objects (
DataFrame
,Series
, ... but most importantlyStyler
).Suggested fix for documentation
Links should be included. This could either be done using raw reST cells (which looks not as nice in the downloadable notebook) or by inserting relative links into the markdown code (which breaks easily).
The text was updated successfully, but these errors were encountered: