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

Benjamin Root ben.root at ou.edu
Thu Sep 15 15:49:46 EDT 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.python.org/pipermail/numpy-discussion/attachments/20110915/27d0e55c/attachment.html>


More information about the NumPy-Discussion mailing list