-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: examples for Styler.pipe #45880
New issue
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
Conversation
pandas/io/formats/style.py
Outdated
**Advanced Use** | ||
|
||
Sometimes it may be necessary to pre-define styling functions, but in the case | ||
where those functions rely on the styler, or data, context. Since |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: styler, or data, context
-> styler, data, or context
pandas/io/formats/style.py
Outdated
.. figure:: ../../_static/style/df_pipe.png | ||
**Common Use** | ||
|
||
The most common usage pattern may be to pre-define styling operations which |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: The most common usage pattern may be
-> A common usage pattern is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments otherwise LGTM.
Also off topic question, the docstring examples could (in theory) eventually generate different results from the pngs if future changes are made right?
yes they could, not sure how to get around this though given this is a visualisation device that is better shown? |
Just curious. Agreed pngs are the better visualization method for these examples. |
nice @attack68 should this close the original issue? |
Addresses a recent issue raised in #45686