W3cubDocs

/scikit-learn

sklearn.utils.check_consistent_length

sklearn.utils.check_consistent_length(*arrays) [source]

Check that all arrays have consistent first dimensions.

Checks whether all objects in arrays have the same shape or length.

Parameters:
*arrays : list or tuple of input objects.

Objects that will be checked for consistent length.

© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.utils.check_consistent_length.html