Skip to content

Commit f0f4c79

Browse files
committed
STYLE PEP8
1 parent 636d794 commit f0f4c79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sklearn/utils/validation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ def _ensure_sparse_format(spmatrix, accept_sparse, dtype, order, copy,
265265
return spmatrix
266266

267267

268-
def check_array(array, accept_sparse=None, dtype="numeric", order=None, copy=False,
269-
force_all_finite=True, ensure_2d=True, allow_nd=False,
270-
ensure_min_samples=1, ensure_min_features=1):
268+
def check_array(array, accept_sparse=None, dtype="numeric", order=None,
269+
copy=False, force_all_finite=True, ensure_2d=True,
270+
allow_nd=False, ensure_min_samples=1, ensure_min_features=1):
271271
"""Input validation on an array, list, sparse matrix or similar.
272272
273273
By default, the input is converted to an at least 2nd numpy array.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy