Skip to content

Commit ac62653

Browse files
author
Francesc Alted
committed
Require numexpr 2.4.6
1 parent ab79c54 commit ac62653

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/source/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Recommended Dependencies
226226

227227
* `numexpr <https://github.com/pydata/numexpr>`__: for accelerating certain numerical operations.
228228
``numexpr`` uses multiple cores as well as smart chunking and caching to achieve large speedups.
229-
If installed, must be Version 2.1 or higher (excluding a buggy 2.4.4). Version 2.4.6 or higher is highly recommended.
229+
If installed, must be Version 2.4.6 or higher.
230230

231231
* `bottleneck <http://berkeleyanalytics.com/bottleneck>`__: for accelerating certain types of ``nan``
232232
evaluations. ``bottleneck`` uses specialized cython routines to achieve large speedups.

doc/source/whatsnew/v0.20.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ users upgrade to this version.
99

1010
.. warning::
1111

12-
Due to important fixes and performance improvements, ``numexpr`` version is now required to be >= 2.6.2 and it will not be used at all if this requisite is not fullfilled (:issue:`15213`).
12+
Due to important fixes and performance improvements, ``numexpr`` version is now required to be >= 2.4.6 and it will not be used at all if this requisite is not fullfilled (:issue:`15213`).
1313

1414
Highlights include:
1515

pandas/computation/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
try:
88
import numexpr as ne
99
ver = ne.__version__
10-
_NUMEXPR_INSTALLED = ver >= LooseVersion('2.6.2')
10+
_NUMEXPR_INSTALLED = ver >= LooseVersion('2.4.6')
1111

1212
if not _NUMEXPR_INSTALLED:
1313
warnings.warn(
1414
"The installed version of numexpr {ver} is not supported "
1515
"in pandas and will be not be used\nThe minimum supported "
16-
"version is 2.6.2\n".format(ver=ver), UserWarning)
16+
"version is 2.4.6\n".format(ver=ver), UserWarning)
1717

1818
except ImportError: # pragma: no cover
1919
pass

0 commit comments

Comments
 (0)