8000 DOC minor typo fix (#18119) · simonamaggio/scikit-learn@c3effe4 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3effe4

Browse files
authored
DOC minor typo fix (scikit-learn#18119)
1 parent 7d2f9f5 commit c3effe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/preprocessing/_encoders.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ class OrdinalEncoder(_BaseEncoder):
622622
dtype : number type, default np.float64
623623
Desired dtype of output.
624624
625-
handle_unknown : {'error', 'use_encoded_value}', default='error'
625+
handle_unknown : {'error', 'use_encoded_value'}, default='error'
626626
When set to 'error' an error will be raised in case an unknown
627627
categorical feature is present during transform. When set to
628628
'use_encoded_value', the encoded value of unknown categories will be

0 commit comments

Comments
 (0)
0