[Numpy-discussion] limit to number of fields in recarray

Skipper Seabold jsseabold at gmail.com
Tue Aug 2 16:18:01 EDT 2011


On Tue, Aug 2, 2011 at 4:09 PM, Craig Yoshioka <craigyk at me.com> wrote:
> yup, duplicate field names given.  I didn't commit the non-working version and I didn't want to mess up my working code so I tried duplicating the dtype in a new file and couldn't recreate the error.   I suppose the answer to my question is, there is no limit to the number of records?  Must have been an invalid name, or a different error on my part.  Out of curiosity, what does recarray consider an invalid field name?

I guess this checking is only done in genfromtxt and that's where I
recall coming across it.

http://docs.scipy.org/doc/numpy/user/basics.io.genfromtxt.html#validating-names

Skipper



More information about the NumPy-Discussion mailing list