[Numpy-discussion] Is this an indexing bug?

Sven Schreiber svetosch at gmx.net
Sat Jun 16 10:49:45 EDT 2007


Tom K. schrieb:
>>>> h = zeros((1, 4, 100))
>>>> h[0,:,arange(14)].shape
> (14, 4)
> 

After reading section 3.4.2.1 of the numpy book, I also still don't
expect this result. So if it's not a bug, I'd be glad if some expert
could explain why not.

Thanks,
Sven



More information about the NumPy-Discussion mailing list