On Tue, Oct 6, 2009 at 10:27 PM, Pierre GM <pgmdevl...@gmail.com> wrote:
<snip>
>> Anyhow, I am really impressed on how this function works.
>
> Thx. I hope things haven't been slowed down too much.

In keeping with the making some work for you theme, I filed an
enhancement ticket for one change that we discussed and another IMO
useful addition.  http://projects.scipy.org/numpy/ticket/1238

I think it would be nice if we could do

data = np.genfromtxt(SomeFile, dtype=float, names = ['var1', 'var2',
'var3' ...])

So that float is paired with each variable name.  Also, the one that
came up earlier of

data = np.genfromtxt(SomeFile, dtype=(int, int, float), names =
['var1','var2','var3']

I'm not completely convinced on this one though, since dtype =
"i8,i8,f8" works.  I don't want know how much confusion it would add
to have the dtype argument accept a non-valid dtype construction.

Skipper

PS.  Is it bad form for me to go ahead and assign these kinds of
tickets to you if you're going to be working on them, or do you get
pinged when any ticket is filed?
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to