pydata/numexpr
Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 98
- Release rhythm 93
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 12.5
- age_days: 4659
- days_rel: 46
- days_push: 16
- n_releases_24m: 9
Adoption not part of the score
2535 stars · 226 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
NumExpr is a fast numerical expression evaluator for NumPy arrays that compiles expressions like '3*a+4*b' into op-codes executed by an integrated virtual machine. It avoids intermediate memory allocations and uses multi-threading (optionally Intel MKL/VML) to speed up large array computations.
Use cases
- evaluate arithmetic expressions on large numpy arrays faster
- reduce memory usage in pandas query computations
- speed up element-wise math on big arrays with multiple cores
- accelerate numerical expressions in PyTables queries
- compute complex array formulas without temporary allocations
When to choose
- you work with large NumPy/Pandas arrays and expression evaluation is a bottleneck
- you want multi-core speedups without rewriting vectorized code
- you need lower memory overhead than NumPy's intermediate arrays
When to avoid
- your arrays are small, where NumPy is equally fast or faster
- you need general-purpose symbolic math or arbitrary Python code evaluation
- your expressions are trivial like 'a + 1' with little expected speedup
Facets
library · maturity stable
math machine-learning data-science data-science performance python cross-platform numpy pandas numerical-computing expression-evaluator multithreading array-computing algorithms
1 source
- readme: https://github.com/pydata/numexpr · fetched 2026-08-28 · 14f9a9c6c3f8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pydata/numexpr | main | 97 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem