Skip to content

Commit e3d49b7

Browse files
DOC: Fix default value for engine in pandas.eval (#63382)
1 parent 57ca138 commit e3d49b7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/core/computation/eval.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,14 @@ def eval(
238238
``'python'`` parser to retain strict Python semantics. See the
239239
:ref:`enhancing performance <enhancingperf.eval>` documentation for
240240
more details.
241-
engine : {'python', 'numexpr'}, default 'numexpr'
241+
engine : {'python', 'numexpr'}, optional, default None
242242
243243
The engine used to evaluate the expression. Supported engines are
244244
245245
- None : tries to use ``numexpr``, falls back to ``python``
246-
- ``'numexpr'`` : This default engine evaluates pandas objects using
247-
numexpr for large speed ups in complex expressions with large frames.
246+
- ``'numexpr'`` : This is the default engine when ``numexpr`` is installed.
247+
Evaluates pandas objects using numexpr for large speed ups in complex
248+
expressions with large frames.
248249
- ``'python'`` : Performs operations as if you had ``eval``'d in top
249250
level python. This engine is generally not that useful.
250251

0 commit comments

Comments
 (0)