Skip to content

Commit d0fb1b5

Browse files
committed
Merge pull request #11092 from sinhrks/eval_doc
DOC: Update "enhancing perf" doc based on #10953
2 parents ae28073 + 73ef492 commit d0fb1b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/source/enhancingperf.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,15 @@ These operations are supported by :func:`pandas.eval`:
449449
- Attribute access, e.g., ``df.a``
450450
- Subscript expressions, e.g., ``df[0]``
451451
- Simple variable evaluation, e.g., ``pd.eval('df')`` (this is not very useful)
452+
- Math functions, `sin`, `cos`, `exp`, `log`, `expm1`, `log1p`,
453+
`sqrt`, `sinh`, `cosh`, `tanh`, `arcsin`, `arccos`, `arctan`, `arccosh`,
454+
`arcsinh`, `arctanh`, `abs` and `arctan2`.
452455

453456
This Python syntax is **not** allowed:
454457

455458
* Expressions
456459

457-
- Function calls
460+
- Function calls other than math functions.
458461
- ``is``/``is not`` operations
459462
- ``if`` expressions
460463
- ``lambda`` expressions

0 commit comments

Comments
 (0)