Highlight values defined by a quantile with a style.
Added in version 1.3.0.
Parameters:
subsetlabel, array-like, IndexSlice, optional
A valid 2d input to DataFrame.loc[<subset>], or, in the case of a 1d input
or single key, to DataFrame.loc[:, <subset>] where the columns are
prioritised, to limit data to before applying the function.
colorstr, default ‘yellow’
Background color to use for highlighting.
axis{0 or ‘index’, 1 or ‘columns’, None}, default 0
Axis along which to determine and highlight quantiles. If None quantiles
are measured over the entire DataFrame. See examples.
q_leftfloat, default 0
Left bound, in [0, q_right), for the target quantile range.
q_rightfloat, default 1
Right bound, in (q_left, 1], for the target quantile range.