Skip to content

Commit adefd43

Browse files
committed
fix.encoding.py strict = True -> strict = False
1 parent 450345a commit adefd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/reshape/encoding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def check_len(item, name: str) -> None:
212212
with_dummies = [data.select_dtypes(exclude=dtypes_to_encode)]
213213

214214
for col, pre, sep in zip(
215-
data_to_encode.items(), prefix, prefix_sep, strict=True
215+
data_to_encode.items(), prefix, prefix_sep, strict=False
216216
):
217217
# col is (column_name, column), use just column data here
218218
dummy = _get_dummies_1d(

0 commit comments

Comments
 (0)