scikit-learn v0.19.2 Other versions
Please cite us if you use the software.
sklearn.utils.validation
sklearn.utils.validation.
column_or_1d
Ravel column or 1d numpy array, else raises an error
y : array-like
warn : boolean, default False
To control display of warnings.
y : array