Skip to content

Commit bc08bff

Browse files
authored
handled the too-long modified
1 parent cd56929 commit bc08bff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/reshape/encoding.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,8 @@ def from_dummies(
538538
raise ValueError(len_msg)
539539
elif isinstance(default_category, Hashable):
540540
default_category = dict(
541-
zip(variables_slice, [default_category] * len(variables_slice), strict=True)
541+
zip(variables_slice,
542+
[default_category] * len(variables_slice), strict=True)
542543
)
543544
else:
544545
raise TypeError(

0 commit comments

Comments
 (0)