Toggle Menu
Prev Up Next

scikit-learn 1.3.2
Other versions

Please cite us if you use the software.

# `sklearn.utils`.check_consistent_length

sklearn.utils.check_consistent_length(*arrays)

  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.