Skip to content

Commit b7a859b

Browse files
committed
fix typos in categorical doctests
1 parent fa58390 commit b7a859b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/arrays/categorical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,15 +515,15 @@ def get_dummies(
515515
1 0 1 0
516516
2 0 0 1
517517
518-
>>> pd.Categorical(list('abcaa)).get_dummies()
518+
>>> pd.Categorical(list('abcaa')).get_dummies()
519519
a b c
520520
0 1 0 0
521521
1 0 1 0
522522
2 0 0 1
523523
3 1 0 0
524524
4 1 0 0
525525
526-
>>> pd.Categorical(list('abcaa)).get_dummies(drop_first=True)
526+
>>> pd.Categorical(list('abcaa')).get_dummies(drop_first=True)
527527
b c
528528
0 0 0
529529
1 1 0

0 commit comments

Comments
 (0)