[Numpy-discussion] np.isfinite on structured arrays

Pierre GM pgmdevlist@gmail....
Wed Jul 15 11:20:22 CDT 2009


On Jul 15, 2009, at 4:23 AM, Pauli Virtanen wrote:

> Tue, 14 Jul 2009 14:45:11 -0400, Pierre GM kirjoitti:
>> Consider the following code:
>>>>> a = np.array(zip(np.arange(3)),dtype=[('a',float)]) np.isfinite(a)
>> NotImplemented
>
> Seems like a bug. As I understand, NotImplemented is intended to be
> returned only from __lt__ etc. comparison methods.

OK, I filed a ticket (#1175), just in case...


More information about the NumPy-Discussion mailing list