[Numpy-discussion] dtype and shape for 1.6.1 seems broken?

Mark Wiebe mwwiebe@gmail....
Thu Aug 18 22:44:50 CDT 2011


This could be related to ticket #1936:

http://projects.scipy.org/numpy/ticket/1936

for which there's a pull request against master here:

https://github.com/numpy/numpy/pull/140

-Mark


On Thu, Aug 18, 2011 at 7:24 PM, Robert Love <rblove_lists@comcast.net>wrote:

>
> This works under 1.5.1 and 1.6.0 but gives me errors in 1.6.1
>
> import numpy as np
>
> def main():
>
>    print"numpy version: "+ np.__version__
>
>    zdt = np.dtype([('et','i4'),('r','f8',3)])
>
>    zdata = np.loadtxt('zdum.txt', zdt)
>
> In 1.6.1 I get this error:
>
> ValueError: setting an array element with a sequence.  Is this a known
> problem?
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110818/d62cd9f4/attachment.html 


More information about the NumPy-Discussion mailing list