You are correct sir there doesn't appear to be support for isnan or infinite:
http://code.google.com/p/numexpr/issues/detail?id=23&q=nan
I'll try something far less efficient, possibly a lambda expression on table
column. Anyways, thanks for root causing the issue.
--
Aquil H. Abdullah
"I ne
So this is probably a numexpr issue. There doesn't seem to be an isnan()
implementation [1]. I would bring it up with them. Sorry we can't do more.
Be Well
Anthony
1. http://code.google.com/p/numexpr/wiki/UsersGuide
On Thu, Aug 16, 2012 at 12:57 PM, Aquil H. Abdullah <
aquil.abdul...@gmail.com
I get the same error if I use:
bad_vols = tbl.getWhereList('volume == nan')
bad_vols = tbl.getWhereList('volume == NaN')
--
Aquil H. Abdullah
"I never think of the future. It comes soon enough" - Albert Einstein
On Thursday, August 16, 2012 at 1:52 PM, Anthony Scopatz wrote:
> Have you tried
Have you tried simply doing:
'volume == nan' or
'volume == NaN'
On Thu, Aug 16, 2012 at 12:49 PM, Aquil H. Abdullah <
aquil.abdul...@gmail.com> wrote:
> Hello All,
>
> I am trying to determine if there are any NaN values in one of my tables,
> but when I queried for numpy.nan I received a NameE
Hello All,
I am trying to determine if there are any NaN values in one of my tables, but
when I queried for numpy.nan I received a NameError. Can any tell be the best
way to search for a NaN value? Thanks!
In [7]: type(np.nan)
Out[7]: float
In [8]: bad_vols = tbl.getWhereList('volume == %f'