Re: [SciPy-user] Numeric array functionality for cloning matlab's zscore(matrix)

Alan G Isaac aisaac at american.edu
Thu Aug 11 13:34:32 CDT 2005


On Thu, 11 Aug 2005, Syd Diamond apparently wrote: 
> Can someone ... perhaps suggest a better way to implement 
> this simple zscore function?


import scipy as S
nx = (x-S.mean(x,axis=0))/S.std(x,axis=0)

hth,
Alan Isaac






More information about the SciPy-user mailing list