[Numpy-discussion] Getting the indexes of the myarray.min()
jsaenz at wm.lc.ehu.es
Fri May 14 03:04:10 CDT 2004
What about an object (TimeSeries) which can be "explored" (optionally)
during its init method and, if so, it creates the dictionary with those
values? If it is not explored, the dictionary would be assigned to None
and, if requested, the "exploratory" statistics would be computed then.
This could be the basis for other computations on time series.
Just my two cents.
Jon Saenz. | Tfno: +34 946012445
Depto. Fisica Aplicada II | Fax: +34 946013500
Facultad de Ciencias. \\ Universidad del Pais Vasco \\
Apdo. 644 \\ 48080 - Bilbao \\ SPAIN
On Thu, 13 May 2004, Russell E Owen wrote:
> At 9:27 AM -0400 2004-05-13, Perry Greenfield wrote:
> >... One has to trade off the number of such functions
> >against the speed savings. Another example is getting max and min values
> >for an array. I've long thought that this is so often done they could
> >be done in one pass. There isn't a function that does this yet though.
> Statistics is another area where multiple return values could be of
> interest -- one may want the mean and std dev, and making two passes
> is wasteful (since some of the same info needs to be computed both
> A do-all function that computes min, min location, max, max location,
> mean and std dev all at once would be nice (especially if the
> returned values were accessed by name, rather than just being a tuple
> of values, so they could be referenced safely and readably).
> -- Russell
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
More information about the Numpy-discussion