@staticmethod
def check_well_formed(data):
    'Checks if input data is well-formed, regular array'
    d = numpy.asanyarray(data)
    if (d.dtype == numpy.object):
        try:
            len(d.flat[0])
        except TypeError:
            pass
        else:
            raise ValueError('Data must be well-formed, regular array of number, string, or datetime')
Checks if input data is well-formed, regular array
@staticmethod
def check_well_formed(data):
    
    d = numpy.asanyarray(data)
    if (d.dtype == numpy.object):
        try:
            len(d.flat[0])
        except TypeError:
            pass
        else:
            raise ValueError('Data must be well-formed, regular array of number, string, or datetime')