Skip to content

Commit

Permalink
revert query validation
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
  • Loading branch information
dchigarev committed Sep 18, 2023
1 parent 94c361f commit d266dcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modin/pandas/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,7 @@ def query(self, expr, inplace=False, **kwargs): # noqa: PR01, RT01, D200
Query the columns of a ``DataFrame`` with a boolean expression.
"""
self._update_var_dicts_in_kwargs(expr, kwargs)
self._validate_eval_query(expr, **kwargs)
inplace = validate_bool_kwarg(inplace, "inplace")
# HACK: this condition kind of breaks the idea of backend agnostic API as all queries
# _should_ work fine for all of the engines using `pandas.DataFrame.query(...)` approach.
Expand Down

0 comments on commit d266dcf

Please sign in to comment.