We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc08bff commit 74a09aeCopy full SHA for 74a09ae
pandas/core/reshape/encoding.py
@@ -538,8 +538,8 @@ def from_dummies(
538
raise ValueError(len_msg)
539
elif isinstance(default_category, Hashable):
540
default_category = dict(
541
- zip(variables_slice,
542
- [default_category] * len(variables_slice), strict=True)
+ zip(variables_slice, [default_category] * len(variables_slice),
+ strict=True)
543
)
544
else:
545
raise TypeError(
0 commit comments