Skip to content

Commit 81396fa

Browse files
committed
fix typing err
1 parent 0fbe8cf commit 81396fa

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
@@ -359,7 +359,7 @@ def get_empty_frame(data) -> DataFrame:
359359

360360
if drop_first:
361361
# remove first GH12042
362-
dummy_mat = dummy_mat[:, 1:] # type: ignore[assignment]
362+
dummy_mat = dummy_mat[:, 1:]
363363
dummy_cols = dummy_cols[1:]
364364
return DataFrame(dummy_mat, index=index, columns=dummy_cols, dtype=_dtype)
365365

0 commit comments

Comments
 (0)