-
Notifications
You must be signed in to change notification settings - Fork 4
Description
@aaren
I believe the pandas function query() could be very useful for me, but when I try to use it, I get this error
wind.query('year' > 1986 and 'year' < 1999)
ImportError: 'numexpr' is not installed or an unsupported version. Cannot use engine='numexpr' for query/eval if 'numexpr' is not installed
The documentation here says:
"numexpr: for accelerating certain numerical operations. numexpr uses multiple cores as well as smart chunking and caching to achieve large speedups. If installed, must be Version 2.1 or higher (excluding a buggy 2.4.4). Version 2.4.6 or higher is highly recommended."
It IS installed - version 2.5.
So, is pandas not trained to use 2.5? I believe there are some clues in this discussion, but I don't follow what they are saying.
Should I install a different version of numexpr? or accept that pd.query() is beyond my grasp :(
p.s. I updated my whole anaconda distribution, but I still only have 0.18.0. I think 0.18.1 was only released on 3rd May 2016.