Skip to content

Commit 2200f71

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 74a09ae commit 2200f71

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pandas/core/reshape/encoding.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,8 +538,11 @@ 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),
542-
strict=True)
541+
zip(
542+
variables_slice,
543+
[default_category] * len(variables_slice),
544+
strict=True,
545+
)
543546
)
544547
else:
545548
raise TypeError(

0 commit comments

Comments
 (0)