[Numpy-discussion] shape is (3,4) or (3L,4L) ?
markbak at gmail.com
Fri Sep 13 04:07:47 EDT 2013
I am teaching a Python programming class where students use their own
When I create an array with 3 rows and 4 columns, a = zeros((3,4)), and ask
for the shape, shape(a), then some students get (3,4), while others get
I guess the 3L and 4L are long integers. I wonder why they don't all get
the same thing. They all installed numpy through Canopy Express. Any
thoughts? Is this a setting in printoptions maybe?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion