Skip to content

Commit bda5265

Browse files
committed
fix _get_dummies_1d import path
1 parent 8f212e1 commit bda5265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/categorical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def get_dummies(
537537
1 0.0 1.0 0.0
538538
2 0.0 0.0 1.0
539539
"""
540-
from pandas import _get_dummies_1d
540+
from pandas.core.reshape.reshape import _get_dummies_1d
541541

542542
return _get_dummies_1d(
543543
self,

0 commit comments

Comments
 (0)