Skip to content

Commit 9e95485

Browse files
Add dtype to get_dummies docstring
1 parent 50ed90c commit 9e95485

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/strings/accessor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2387,6 +2387,8 @@ def get_dummies(
23872387
If appending prefix, separator/delimiter to use.
23882388
dummy_na : bool, default False
23892389
Add a column to indicate NaNs, if False NaNs are ignored.
2390+
dtype: dtype, default int64
2391+
Data type for new columns. Only a single dtype is allowed.
23902392
23912393
Returns
23922394
-------

0 commit comments

Comments
 (0)