[Numpy-discussion] Is this an indexing bug?

Sven Schreiber svetosch@gmx....
Sat Jun 16 09:49:45 CDT 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