(o)
return True
Check if *o* is conformable to a 2d array.

    Parameters
    ----------
    o : any object
      The object to check

    Returns
    -------
    is_like2d : bool, scalar
      True if *o* is conformable to a 2d array, False otherwise.
Check if *o* is conformable to a 2d array.
Check if * o * is conformable to a 2d array .
def is_like2d(o):
    """Check if *o* is conformable to a 2d array.

    Parameters
    ----------
    o : any object
      The object to check

    Returns
    -------
    is_like2d : bool, scalar
      True if *o* is conformable to a 2d array, False otherwise.
    """
    if not is_seq(o):
        return False
    size = None
    for s in o:
        if not is_seq(s):
            return False
        if size is None:
            size = len(s)
        if len(s) != size:
            return False
    return True
def is_like2d ( o ) : if not is_seq ( o ) : return False size = None for s in o : if not is_seq ( s ) : return False if size is None : size = len ( s ) if len ( s ) != size : return False return True