[Numpy-discussion] genfromtxt - the return
Tue Oct 6 22:01:45 CDT 2009
On Tue, Oct 6, 2009 at 10:27 PM, Pierre GM <email@example.com> wrote:
>> 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',
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 =
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.
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?
More information about the NumPy-Discussion