We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e5241 commit 4f105d6Copy full SHA for 4f105d6
pandas/io/formats/style.py
@@ -1915,6 +1915,14 @@ def highlight_quantile(
1915
1916
This method uses ``pandas.qcut`` to implement the quantile labelling of data
1917
values.
1918
+
1919
+ Examples
1920
+ --------
1921
+ >>> df = pd.DataFrame(np.arange(1,100).reshape(10,10)+1)
1922
+ >>> df.style.highlight_quantile(q_low=0.5, q_high=0.7, axis=None)
1923
+ >>> df.style.highlight_quantile(q_low=0.5, q_high=0.7, axis=0)
1924
+ >>> df.style.highlight_quantile(q_low=0.5, q_high=0.7, axis=1)
1925
+ >>> df.style.highlight_quantile(q_low=0.5, props='font-weight:bold;color:red')
1926
"""
1927
1928
def f(
0 commit comments