[Numpy-discussion] numpy.genfromtxt converters issue

Pierre GM pgmdevlist@gmail....
Sun Nov 7 09:07:28 CST 2010

On Nov 6, 2010, at 2:22 PM, Damien Moore wrote:

> Hi List,
> I'm trying to import csv data as a numpy array using genfromtxt. The csv file contains mixed data, some floating point, others string codes and dates that I want to convert to floating point. The strange thing is that when I use the 'converters' argument to convert a subset of the columns the resulting output of genfromtxt becomes a 1d array of tuples instead of the desired 2d array of floats. I've provided a simple example below.

Please open a ticket so that I don't forget about it. Thx in advance!

More information about the NumPy-Discussion mailing list