-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: Styler column and row styles #35607
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
af99333
ENH: add named based column css styling to pandas Styler
attack68 c8097ed
ENH: add named based column css styling to pandas Styler (black fixup)
attack68 07591da
ENH: add named based column css styling to pandas Styler (black fixup)
attack68 d143824
ENH: add named based column css styling to pandas Styler (black fixup)
attack68 a4ebd1a
ENH: restructure code for no new functions, only keyword additions
attack68 cae9159
ENH: black fix
attack68 08fc864
ENH: changes requested in issue
attack68 eb4abea
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 f5b4b79
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 6cea000
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 fc281af
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 f61b6ba
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 6abbe99
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 d7f7e72
fix test after recent merge master
attack68 18d5d68
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 29e02df
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
TomAugspurger 31499ba
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 6dbd2ca
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 c0ea225
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 0792752
style fix
attack68 6f6c758
Merge remote-tracking branch 'upstream/master' into styler_column_sty…
attack68 93d3f8d
TYPE: add type for set_table_styles
attack68 d5a6fbb
TYPE: revert chgs
attack68 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
can you type table_styles
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.
I tried adding the following to func def, but it got errors, I don't know my way around mypy and this seems slightly more complicated than normal with the multiple acceptable input types and programming logic:
So I reverted the attempt.
However, all green, pinging @jreback
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.
ok if you can follow and make this much more intuitive (e.g. define aliases here)
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.
because it is not-trivial to actually construct this union