8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d2f9f5 commit c3effe4Copy full SHA for c3effe4
sklearn/preprocessing/_encoders.py
@@ -622,7 +622,7 @@ class OrdinalEncoder(_BaseEncoder):
622
dtype : number type, default np.float64
623
Desired dtype of output.
624
625
- handle_unknown : {'error', 'use_encoded_value}', default='error'
+ handle_unknown : {'error', 'use_encoded_value'}, default='error'
626
When set to 'error' an error will be raised in case an unknown
627
categorical feature is present during transform. When set to
628
'use_encoded_value', the encoded value of unknown categories will be
0 commit comments