Skip to content

Commit 45fb229

Browse files
committed
BUG: col class identifiers missing from one row
1 parent 10d01ca commit 45fb229

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

pandas/io/formats/style.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,10 @@ def highlight_null(
16401640
)
16411641

16421642
def highlight_max(
1643-
self, subset=None, color: str = "yellow", axis: Optional[Axis] = 0
1643+
self,
1644+
subset: Optional[IndexLabel] = None,
1645+
color: str = "yellow",
1646+
axis: Optional[Axis] = 0,
16441647
) -> Styler:
16451648
"""
16461649
Highlight the maximum by shading the background.
@@ -1668,7 +1671,10 @@ def highlight_max(
16681671
)
16691672

16701673
def highlight_min(
1671-
self, subset=None, color: str = "yellow", axis: Optional[Axis] = 0
1674+
self,
1675+
subset: Optional[IndexLabel] = None,
1676+
color: str = "yellow",
1677+
axis: Optional[Axis] = 0,
16721678
) -> Styler:
16731679
"""
16741680
Highlight the minimum by shading the background.
@@ -1803,7 +1809,7 @@ def _highlight_func(
18031809
data: FrameOrSeries,
18041810
props: str = "background-color: yellow;",
18051811
highlight: str = "max",
1806-
):
1812+
) -> np.ndarray:
18071813
"""
18081814
Highlight the value in a Series or DataFrame by func with css-properties
18091815
"""

0 commit comments

Comments
 (0)