-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: Adding styler applymap multindex & code test [Ref: #25858] #29346
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
TST: Adding styler applymap multindex & code test [Ref: #25858] #29346
Conversation
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.
lgtm, small comment, ping on green.
@@ -376,6 +376,23 @@ def color_negative_red(val): | |||
|
|||
(df.style.applymap(color_negative_red, subset=idx[:, idx["b", "d"]]).render()) | |||
|
|||
def test_applymap_subset_multiindex_code(self): | |||
codes = np.array([[0, 0, 1, 1], [0, 1, 0, 1]]) |
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 add the issue number as a comment and a 1-liner explain
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.
This is now done
Thanks @sofiane87 ! |
] (pandas-dev#29346) * TST: Adding styler applymap multindex & code test Closes pandas-devgh-25858
] (pandas-dev#29346) * TST: Adding styler applymap multindex & code test Closes pandas-devgh-25858
] (pandas-dev#29346) * TST: Adding styler applymap multindex & code test Closes pandas-devgh-25858
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff