Skip to content

Commit 4526f15

Browse files
Link to pd.eval in pd.DataFrame.query
1 parent e52d357 commit 4526f15

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/core/frame.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4479,8 +4479,11 @@ def query(self, expr: str, *, inplace: bool = False, **kwargs) -> DataFrame | No
44794479
expr : str
44804480
The query string to evaluate.
44814481
4482+
See the documentation for :func:`eval` for details of
4483+
supported operations and functions in the query string.
4484+
44824485
See the documentation for :meth:`DataFrame.eval` for details on
4483-
referring to column names and variables.
4486+
referring to column names and variables in the query string.
44844487
inplace : bool
44854488
Whether to modify the DataFrame rather than creating a new one.
44864489
**kwargs

0 commit comments

Comments
 (0)