[Numpy-discussion] Addressing arrays

Zachary Pincus zachary.pincus@yale....
Mon Jan 30 09:28:38 CST 2012


Read the slicing part of the tutorial:
(section 1.6)

And the documentation:

On Jan 30, 2012, at 10:25 AM, Ted To wrote:

> Hi,
> Is there some straightforward way to access an array by values across a
> subset of its dimensions?  For example, if I have a three dimensional
> array a=(x,y,z), can I look at the values of z given particular values
> for x and y?
> Thanks,
> Ted
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion

More information about the NumPy-Discussion mailing list