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

Ralf Gommers ralf.gommers@googlemail....
Tue Nov 1 11:51:21 CDT 2011


On Mon, Oct 31, 2011 at 11:24 PM, Charles R Harris <
charlesr.harris@gmail.com> wrote:

>
>
> On Mon, Oct 31, 2011 at 3:45 PM, Fernando Paolo <fspaolo@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20111101/fabae2af/attachment.html 


More information about the SciPy-User mailing list