I haven't commented yet on the mailing list because of time pressures although
I have spoken to Mark as often as I can --- and have encouraged him to pursue
his ideas and discuss them with the community. The Numeric Python discussion
list has a long history of great dialogue to try and bring ou
*Hi Derek,
Thanks very much for your quick reply. I make a short summary of what I've
tried. Actually the *['S10'] + [ float for n in range(48) ] *only* *works
when you explicitly specify the columns to be read, and genfromtxt cannot
automatically determine the type* *if you don't specify the type
On Sun, Jun 26, 2011 at 2:27 PM, Derek Homeier <
de...@astro.physik.uni-goettingen.de> wrote:
> On 26.06.2011, at 8:48PM, Chao YUE wrote:
>
> > I want to read a csv file with many (49) columns, the first column is
> string and remaning can be float.
> > how can I avoid type in like
> >
> > data=nu
On 26.06.2011, at 8:48PM, Chao YUE wrote:
> I want to read a csv file with many (49) columns, the first column is string
> and remaning can be float.
> how can I avoid type in like
>
> data=numpy.genfromtxt('data.csv',delimiter=';',names=True, dtype=(S10, float,
> float, ..))
>
> Can I ju
Dear all numpy users,
I want to read a csv file with many (49) columns, the first column is string
and remaning can be float.
how can I avoid type in like
data=numpy.genfromtxt('data.csv',delimiter=';',names=True, dtype=(S10,
float, float, ..))
Can I just specify the type of first cloumn is