Skip to content

Conversation

@attack68
Copy link
Contributor

@attack68 attack68 commented Feb 9, 2022

in all the builtin highlighters color is used. makes this more consistent.

@jreback jreback added Deprecate Functionality to remove in pandas Styler conditional formatting using DataFrame.style labels Feb 11, 2022
@jreback
Copy link
Contributor

jreback commented Feb 11, 2022

no objections, prob this is showing a warning in another test

@mroeschke mroeschke added this to the 1.5 milestone Feb 22, 2022
def f(data: DataFrame, props: str) -> np.ndarray:
return np.where(pd.isna(data).to_numpy(), props, "")

if null_color != "red":
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to make null_color == lib.no_default here (and then if its not that you can warn)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

attack68 added 2 commits March 2, 2022 14:35
# Conflicts:
#	doc/source/whatsnew/v1.5.0.rst
@jreback jreback merged commit e4162cd into pandas-dev:main Mar 3, 2022
@attack68 attack68 deleted the null_color_ref branch March 6, 2022 07:21
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Deprecate Functionality to remove in pandas Styler conditional formatting using DataFrame.style

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants