[Numpy-discussion] help in improving data analysis code

Francesc Altet faltet at carabos.com
Fri Nov 25 07:33:02 CST 2005


A Divendres 25 Novembre 2005 16:27, Francesc Altet va escriure:
>       print nn[argsort(abs(nn_c-nn_c.mean()),0)][:-int(sz*0.10),0]

Ups. I have had a confusion. This should work better ;-)

      print nn[argsort(abs(nn-nn.mean()),0)][:-int(sz*0.10),0]


-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"





More information about the Numpy-discussion mailing list