[SciPy-User] Error in Numpy 1.6 timedelta()

Fernando Paolo fspaolo at gmail.com
Tue Nov 1 13:09:14 EDT 2011


Okay thanks. Will use the python `datetime.timedelta` for now.

-Fernando

On Tue, Nov 1, 2011 at 9:51 AM, Ralf Gommers <ralf.gommers at googlemail.com>wrote:

>
>
> On Mon, Oct 31, 2011 at 11:24 PM, Charles R Harris <
> charlesr.harris at gmail.com> wrote:
>
>>
>>
>> On Mon, Oct 31, 2011 at 3:45 PM, Fernando Paolo <fspaolo at gmail.com>wrote:
>>
>>> Hello,
>>>
>>> I receive the following error when trying:
>>>
>>> >>> import numpy as np
>>> >>> np.timedelta64(10, 's')
>>>
>>> TypeError: function takes at most 1 argument (2 given)
>>>
>>> I know this is probably fully implemented in Numpy 1.7, but what about
>>> 1.6.1?
>>>
>>>
>> Yep, it's working in current master. I'll have to check 1.6.1 later
>> unless someone who is running it can comment.
>>
>> Doesn't work in 1.6.1. Datetime is not in very good shape in that
> release, if you want to use it for real work it's best to run master.
>
> Ralf
>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>


-- 
Fernando Paolo
Institute of Geophysics & Planetary Physics
Scripps Institution of Oceanography
University of California, San Diego
9500 Gilman Drive
La Jolla, CA 92093-0225
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20111101/563c2443/attachment.html>


More information about the SciPy-User mailing list