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

Leon Sit wing1127aishi at gmail.com
Wed Apr 21 14:32:45 EDT 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