Skip to content

Commit aab506e

Browse files
Backport PR #43097: DOC: styler.format does not, in fact, raise a KeyError (#43100)
Co-authored-by: attack68 <[email protected]>
1 parent 8363092 commit aab506e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/style_render.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ def format(
640640
to. If the ``formatter`` argument is given in dict form but does not include
641641
all columns within the subset then these columns will have the default formatter
642642
applied. Any columns in the formatter dict excluded from the subset will
643-
raise a ``KeyError``.
643+
be ignored.
644644
645645
When using a ``formatter`` string the dtypes must be compatible, otherwise a
646646
`ValueError` will be raised.

0 commit comments

Comments
 (0)