[SciPy-User] Error in Numpy 1.6 timedelta()
Tue Nov 1 12:09:14 CDT 2011
Okay thanks. Will use the python `datetime.timedelta` for now.
On Tue, Nov 1, 2011 at 9:51 AM, Ralf Gommers <email@example.com>wrote:
> On Mon, Oct 31, 2011 at 11:24 PM, Charles R Harris <
> firstname.lastname@example.org> wrote:
>> On Mon, Oct 31, 2011 at 3:45 PM, Fernando Paolo <email@example.com>wrote:
>>> 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
>> 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.
> SciPy-User mailing list
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...
More information about the SciPy-User