Skip to content

'numexpr' - how to find a pandas supported version? #2

@SophMC

Description

@SophMC

@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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions