Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9200411

Browse filesBrowse files
glemaitreItay
authored and
Itay
committed
DOC fix docstring dtype parameter in OrdinalEncoder (scikit-learn#25877)
1 parent 08b8f76 commit 9200411
Copy full SHA for 9200411

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎sklearn/preprocessing/_encoders.py

Copy file name to clipboardExpand all lines: sklearn/preprocessing/_encoders.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ class OrdinalEncoder(OneToOneFeatureMixin, _BaseEncoder):
11821182
11831183
The used categories can be found in the ``categories_`` attribute.
11841184
1185-
dtype : number type, default np.float64
1185+
dtype : number type, default=np.float64
11861186
Desired dtype of output.
11871187
11881188
handle_unknown : {'error', 'use_encoded_value'}, default='error'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.