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))
reset graphitesend
dataset/ETHPy150Open trevorstephens/gplearn/gplearn/skutils/validation.py/check_consistent_length--crossover with--dataset/ETHPy150Open daniellawrence/graphitesend/tests/test_async.py/TestAsync.setUp