Skip to content

Commit ca3751e

Browse files
committed
handle frozenset
1 parent 3f240fc commit ca3751e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/io/formats/printing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ def _pprint_seq(
111111
"""
112112
if isinstance(seq, set):
113113
fmt = "{{{body}}}"
114+
elif isinstance(seq, frozenset):
115+
fmt = "frozenset({body})"
114116
else:
115117
fmt = "[{body}]" if hasattr(seq, "__setitem__") else "({body})"
116118

0 commit comments

Comments
 (0)