Skip to content

Commit a423f43

Browse files
authored
Fix frozenset display in pprint
It needs to have braces like a set.
1 parent 07d2993 commit a423f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/printing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _pprint_seq(
112112
if isinstance(seq, set):
113113
fmt = "{{{body}}}"
114114
elif isinstance(seq, frozenset):
115-
fmt = "frozenset({body})"
115+
fmt = "frozenset({{{body}}})"
116116
else:
117117
fmt = "[{body}]" if hasattr(seq, "__setitem__") else "({body})"
118118

0 commit comments

Comments
 (0)