[Numpy-discussion] Thoughts about zero dimensional arrays vs Python scalars

Travis Oliphant oliphant at ee.byu.edu
Sun Mar 20 22:18:05 EST 2005


Ralf Juengling wrote:

>I just read the section about "Array Scalars" again and
>am not sure anymore that I understood the whole idea. When
>you say "Array Scalar", do you mean a zero dimensional 
>array or is an "Array Scalar" yet another animal?
>
>Ralf
>  
>
It is another type object that is a scalar but "quacks" like an array 
(has the same methods and attributes)

-Travis





More information about the NumPy-Discussion mailing list