Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-07-25 Thread Darren Dale
On Thu, Jul 23, 2009 at 12:54 PM, Darren Dale wrote: > On Tue, Jul 21, 2009 at 10:11 AM, Darren Dale wrote: >> On Tue, Jul 21, 2009 at 7:44 AM, Darren Dale wrote: >>> 2009/7/20 Stéfan van der Walt : Hi Chuck 2009/7/17 Charles R Harris : > PyObject* PyTuple_GetItem(PyObject *p, Py

Re: [Numpy-discussion] ValueError: cannot convert float to NaN to integer

2009-07-25 Thread Keith Goodman
On Wed, Jul 22, 2009 at 11:51 AM, Robert Kern wrote: > On Wed, Jul 22, 2009 at 13:35, Keith Goodman wrote: >> On Ubuntu 9.04, python 2.6.2, numpy 1.2.1 this gives a ValueError: >> >> x = np.array([1,2,3]) >> x[0] = np.nan >> ValueError: cannot convert float to NaN to integer >> >> But on Debian squ