[Numpy-discussion] Is this an indexing bug?
Tue Jun 19 12:13:05 CDT 2007
Sturla Molden schrieb:
> >>> x = numpy.arange(100).reshape((1,10,10))
> >>> x[0,:,numpy.arange(5)].shape
> (5, 10)
> >>> x[:,:,numpy.arange(5)].shape
> (1, 10, 5)
> It looks like a bug that needs to be squashed.
And you already had me convinced ;-)
I'm still curious which one's the bug and which one is expected...
More information about the Numpy-discussion