diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py index a0e37ab597796..c25684e55e12b 100644 --- a/pandas/core/strings/accessor.py +++ b/pandas/core/strings/accessor.py @@ -2387,6 +2387,8 @@ def get_dummies( If appending prefix, separator/delimiter to use. dummy_na : bool, default False Add a column to indicate NaNs, if False NaNs are ignored. + dtype: dtype, default int64 + Data type for new columns. Only a single dtype is allowed. Returns -------