-
Notifications
You must be signed in to change notification settings - Fork 4
'numexpr' - how to find a pandas supported version? #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've also tried adding parser = 'python', engine = 'python, engine = 'numexpr' but to no avail:
|
If you do |
Very strange. I'm not getting the Some other variations: `wind.query('year' > 1986 and 'year' < 1999)# KeyError: False``
The documentation here suggests that the following two should give the same result. But they don't. |
Your expression needs to be a string.
|
Thank you. I still don't understand what happened with ImportError at the beginning, but it doesn't matter now! |
Uh oh!
There was an error while loading. Please reload this page.
@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.
The text was updated successfully, but these errors were encountered: