def compare_array(a, b):
    """
    Compare two array using zip method.
    """
    if len(a) != len(b):
        return False
    else:
        for each in zip(a, b):
            if not np.array_equal(*each):
                return False
    return True

    Compare two array using zip method.
    
tests/integration/test_split.py