packages/vaex-core/vaex/ext/readcol.py
def as_recarray(self):
        """ Convert into numpy recordarray """
        dtype = [(k,v.dtype) for k,v in self.__dict__.iteritems()]
        R = numpy.recarray(len(self.__dict__[k]),dtype=dtype)
        for key in self.__dict__:
            R[key] = self.__dict__[key]
        return R
def as_recarray(self):
        dtype = [(k,v.dtype) for k,v in self.__dict__.iteritems()]
        R = numpy.recarray(len(self.__dict__[k]),dtype=dtype)
        for key in self.__dict__:
            R[key] = self.__dict__[key]
        return R
def as_recarray ( self ) : dtype = [ ( k , v . dtype ) for k , v in self . __dict__ . iteritems ( ) ] R = numpy . recarray ( len ( self . __dict__ [ k ] ) , dtype = dtype ) for key in self . __dict__ : R [ key ] = self . __dict__ [ key ] return R
Convert into numpy recordarray
Convert into numpy recordarray