Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDOC: DataFrame.query() are contradictory on whether Python keywords can used as identifiers #35989
Labels
Milestone
Comments
|
Hi, can I take up this issue and work on it? Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.query.html#pandas.DataFrame.query
Documentation problem
The
exprparameter is described as follows:However, the notes that follow indicate:
So the first part suggests Python keywords can be used, while the second part indicates they cannot. Testing suggests they cannot currently be used.
Suggested fix for documentation
Change the
exprdescription to read: