[SciPy-User] How to specify the dtype in IO

Leon Sit wing1127aishi@gmail....
Wed Apr 21 13:32:45 CDT 2010


Hi All

I have a csv file with columns of the following dtype

int8, int8, int8, float, float, ............

and the column size is arbitrary. Is there a way to specific the dtype
in genfromtxt() such that it knows the first three column is int and
float otherwise?

Thanks


More information about the SciPy-User mailing list