ENH: Styler.highlight_quantile method by attack68 · Pull Request #40926 · pandas-dev/pandas (original) (raw)

Choose a reason for hiding this comment

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

previously I was using qcut which was criticised, probably for good reason, so I switched to NumPy, to be honest didn't see these when searching.

However, numpy allows axis=None, whereas to achieve the same result here I will need to ravel a DataFrame to a Series and apply the calculation. Still, I will give it a try.