[SciPy-user] Operations on Arrays in SciPy
Lorenzo Isella
lorenzo.isella at gmail.com
Tue Dec 11 15:39:18 EST 2007
Dear All,
A probably quick question: SciPy's arrays are objects with methods,
are they not?
For instance, consider the following:
import scipy as s
z=s.arange(30)
mean_z=s.mean(z)
mean_z_2=z.mean()
Is there a reason why one way of operating on the array should be
preferable?
Is it the same thing to work out the mean of z as mean_z or mean_z_2?
Many thanks
Lorenzo
More information about the SciPy-User
mailing list