Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sklearn/preprocessing/_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1745,12 +1745,12 @@ def normalize(X, norm="l2", *, axis=1, copy=True, return_norm=False):
each sample, otherwise (if 0) normalize each feature.

copy : bool, default=True
set to False to perform inplace row normalization and avoid a
Set to False to perform inplace row normalization and avoid a
copy (if the input is already a numpy array or a scipy.sparse
CSR matrix and if axis is 1).

return_norm : bool, default=False
whether to return the computed norms
Whether to return the computed norms.

Returns
-------
Expand Down
1 change: 0 additions & 1 deletion sklearn/tests/test_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
"sklearn.pipeline.make_union",
"sklearn.preprocessing._data.binarize",
"sklearn.preprocessing._data.maxabs_scale",
"sklearn.preprocessing._data.normalize",
"sklearn.preprocessing._data.power_transform",
"sklearn.preprocessing._data.quantile_transform",
"sklearn.preprocessing._data.robust_scale",
Expand Down