(o)
return length
Returns the length of a single array or list of arrays

    Parameters
    ----------
    o : either array or sequence of arrays

    Returns
    -------
    length : length of array
Returns the length of a single array or list of arrays
Returns the length of a single array or list of arrays
def len_array_or_arrays(o):
    """Returns the length of a single array or list of arrays

    Parameters
    ----------
    o : either array or sequence of arrays

    Returns
    -------
    length : length of array
    """
    if is_seq_of_seq(o):
        length = len(o[0])
    else:
        length = len(o)
    return length
def len_array_or_arrays ( o ) : if is_seq_of_seq ( o ) : length = len ( o [ 0 ] ) else : length = len ( o ) return length