Skip to content

Commit 33f9c87

Browse files
c123wTomAugspurger
authored andcommitted
Fix typo (change 'n' to 'k' in get_dummies documentation). (#14153)
1 parent 900ae6b commit 33f9c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/reshape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ def get_dummies(data, prefix=None, prefix_sep='_', dummy_na=False,
984984
985985
.. versionadded:: 0.16.1
986986
drop_first : bool, default False
987-
Whether to get k-1 dummies out of n categorical levels by removing the
987+
Whether to get k-1 dummies out of k categorical levels by removing the
988988
first level.
989989
990990
.. versionadded:: 0.18.0

0 commit comments

Comments
 (0)