[SciPy-user] Operations on Arrays in SciPy
Lorenzo Isella
lorenzo.isella@gmail....
Tue Dec 11 14:39:18 CST 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