We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
negate
Unary function negate is not supported yet,
import polars as pl lf = pl.LazyFrame( { "a": [1, 2, 3, 4], } ) with pl.Config() as cfg: cfg.set_verbose(True) print(lf.select(-pl.col('a')).collect(engine='gpu')) print(lf.select(+pl.col('a')).collect(engine='gpu')) """ /opt/miniconda3_py310/lib/python3.10/site-packages/polars/lazyframe/frame.py:2053: PerformanceWarning: Query execution with GPU not supported, reason: <class 'NotImplementedError'>: Unary function name='negate' return wrap_df(ldf.collect(callback)) shape: (4, 1) ┌─────┐ │ a │ │ --- │ │ i64 │ ╞═════╡ │ -1 │ │ -2 │ │ -3 │ │ -4 │ └─────┘ shape: (4, 1) ┌─────┐ │ a │ │ --- │ │ i64 │ ╞═════╡ │ 1 │ │ 2 │ │ 3 │ │ 4 │ └─────┘ """
The text was updated successfully, but these errors were encountered:
Thanks for the report!
I've opened up #17556 to support this operation, and it should hopefully be available in the next release (25.02)
Sorry, something went wrong.
mroeschke
Successfully merging a pull request may close this issue.
Unary function
negate
is not supported yet,The text was updated successfully, but these errors were encountered: