[Numpy-discussion] speed of append_fields() in numpy.lib.recfunctions vs matplotlib.mlab

2012-04-06 Thread cgraves
It seems that the speed of append_fields() in numpy.lib.recfunctions is much slower than rec_append_fields() in matplotlib.mlab. See the following code: import numpy as np import matplotlib.mlab as mlab import numpy.lib.recfunctions as nprf import time # Set up recarray nr_pts = 1E6 dt =

Re: [Numpy-discussion] loadtxt ndmin option

2011-06-03 Thread cgraves
Derek Homeier wrote: Hi Chris, On 31 May 2011, at 13:56, cgraves wrote: I've downloaded the latest numpy (1.6.0) and loadtxt has the ndmin option, however neither genfromtxt nor recfromtxt, which use loadtxt, have it. Should they have inherited the option? Who can make it happen

Re: [Numpy-discussion] loadtxt ndmin option

2011-05-31 Thread cgraves
Ralf Gommers-2 wrote: On Fri, May 6, 2011 at 12:57 PM, Derek Homeier de...@astro.physik.uni-goettingen.de wrote: On 6 May 2011, at 07:53, Ralf Gommers wrote: Looks okay, and I agree that it's better to fix it now. The timing is a bit unfortunate though, just after RC2. I'll