[FEA] Improved error message when calling query()
on expresions involving columns of string values
#9894
Labels
query()
on expresions involving columns of string values
#9894
DataFrame.query()
calls using expressions that involve columns of string values are not supported in cuDF. Adding support for this would be ideal, but given that strings are not fully supported for a variety of reasons, a better error message would be the next best improvement.As an example, in
pandas
the following works as expected:However, the same code using
cudf
produces the following:Perhaps raising
TypeError(f"query expression including string column {col} is not supported")
or something similar might be better.NOTE: for those interested, the proposed workaround for the above example is:
cc @vyasr @brandon-b-miller
The text was updated successfully, but these errors were encountered: