From: Alan G I. <ai...@am...> - 2008-02-10 21:00:07
|
On Sun, 10 Feb 2008, David Trémouilles apparently wrote: > I have a slightly different objective: I just want to > remove outliers Do you just want to filter out the outliers? newdata = [datum for datum in data if not isoutlier(datum)] You can define ``isoutlier`` to return True for outliers in your data. Apologies if this proves OT. fwiw, Alan Isaac |