Right, I understand what he meant about it being a numpy object rather than
a list. For some reason, however, I thought "ndarray" implied
multidimensional arrays. Thanks again for the clarification.
Chris On Dec 22, 2010 2:08pm, js oishi firstname.lastname@example.org... wrote:
Just as a point of clarification,
I suspect you mean a one-dimensional array,
instead of a
array (ndarray) here? If not, what are the other dimensions for?
An "ndarray" is the name of the numpy ndimensional array object type.
Matt was trying to clarify that it is a numpy array rather than a
native python list, not specifying that it is N-dimensional in the
sense of greater than one. An ndarray could be one-dimensional, for
$ python -c "import numpy as na; a = na.zeros(10); print a.class"
Yt-dev mailing list