samedi 14 mars 2015

Is there a possibility to define dtype only once for all columns?


Vote count:

0




If all the columns of the same type (eg. Float), there is a possibility that dtype defined only once, for all columns?


Example:



inarray = numpy.array([(1.54, 1111.01, 45.12,... n),
(2.34, 2222.22, 11.23,... n),
(5.34, 18.22, 11.11,...n)],
numpy.dtype([('doublefield','<f8')])


asked 42 secs ago







Is there a possibility to define dtype only once for all columns?

Aucun commentaire:

Enregistrer un commentaire