Skip to content

Commit 770c2f5

Browse files
committed
Cleanup
1 parent 2929562 commit 770c2f5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/reshape/encoding.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ def from_dummies(
572572
)
573573
else:
574574
data_slice = data_to_decode.loc[:, prefix_slice]
575-
# cats_array = data._constructor_sliced(cats, dtype=dtype)
576575
cats_array = data._constructor_sliced(cats, dtype=data.columns.dtype)
577576
# get indices of True entries along axis=1
578577
true_values = data_slice.idxmax(axis=1)

0 commit comments

Comments
 (0)