Skip to content

TYP: return values in core/*.py #47587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 6, 2022
Prev Previous commit
Next Next commit
fix query?
  • Loading branch information
twoertwein committed Jul 4, 2022
commit 9fa68be15cb7f3b29424213fb54f0f9932b0ff7a
1 change: 0 additions & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4232,7 +4232,6 @@ def query(self, expr: str, *, inplace: Literal[True], **kwargs) -> None:
def query(self, expr: str, *, inplace: bool = ..., **kwargs) -> DataFrame | None:
...

@deprecate_nonkeyword_arguments(version=None, allowed_args=["self", "expr"])
def query(self, expr: str, inplace: bool = False, **kwargs) -> DataFrame | None:
"""
Query the columns of a DataFrame with a boolean expression.
Expand Down