[Numpy-discussion] can't use argmin for array of timedeltas

Benjamin Root ben.root@ou....
Thu Sep 15 14:49:46 CDT 2011


I encountered something similar back in April or so and that it was fixed.
The problem was that the minimum function was implemented as max(0 - a), and
so this fails for timedelta objects that can't do this.  This was fixed for
min(), but apparently not for argmin().

Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20110915/27d0e55c/attachment.html 


More information about the NumPy-Discussion mailing list