[Numpy-discussion] should a flatiter object get a 'dtype' attribute ?
Sebastian Haase
haase at msg.ucsf.edu
Thu Aug 24 14:01:20 EDT 2006
Hi,
I suppose the answer is no .
But converting more code to numpy I got this error
AttributeError: 'numpy.flatiter' object has no attribute 'dtype'
(I found that I did not need the .flat in the first place )
So I was just wondering if (or how much) a flatiter object should behave like
an ndarray ?
Also this is an opportunity to have some talk about the relative newcomer
"flatiter generator objects" ...
Thanks,
- Sebastian Haase
More information about the NumPy-Discussion
mailing list