code: def check_consistent_length(*arrays):
      
  
      uniques = np.unique([_num_samples(X) for X in arrays if X is not None])
      if len(uniques) > 1:
          raise ValueError("Found arrays with inconsistent numbers of samples: %s"
                           % str(uniques))
docs: 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.