Skip to content

Commit 34210ac

Browse files
parchd-1gfyoung
parchd-1
authored andcommitted
DOC: Make highlight functions match documentation (#16999)
Closes gh-16998.
1 parent 6a5e56d commit 34210ac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/io/formats/style.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -1054,9 +1054,9 @@ def highlight_max(self, subset=None, color='yellow', axis=0):
10541054
subset: IndexSlice, default None
10551055
a valid slice for ``data`` to limit the style application to
10561056
color: str, default 'yellow'
1057-
axis: int, str, or None; default None
1058-
0 or 'index' for columnwise, 1 or 'columns' for rowwise
1059-
or ``None`` for tablewise (the default)
1057+
axis: int, str, or None; default 0
1058+
0 or 'index' for columnwise (default), 1 or 'columns' for rowwise,
1059+
or ``None`` for tablewise
10601060
10611061
Returns
10621062
-------
@@ -1076,9 +1076,9 @@ def highlight_min(self, subset=None, color='yellow', axis=0):
10761076
subset: IndexSlice, default None
10771077
a valid slice for ``data`` to limit the style application to
10781078
color: str, default 'yellow'
1079-
axis: int, str, or None; default None
1080-
0 or 'index' for columnwise, 1 or 'columns' for rowwise
1081-
or ``None`` for tablewise (the default)
1079+
axis: int, str, or None; default 0
1080+
0 or 'index' for columnwise (default), 1 or 'columns' for rowwise,
1081+
or ``None`` for tablewise
10821082
10831083
Returns
10841084
-------

0 commit comments

Comments
 (0)