[BUG] Clip floats using integer lower/upper bounds in a Series or DataFrame fails #8519
Labels
Projects
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Describe the bug
Clipping a DataFrame or Series using ints causes a cudf Failure because it won't handle the different dtypes (int and float)
Steps/Code to reproduce bug
Meanwhile the following will work
Expected behavior
data.clip(0, 1)
Out:
0 0.0000
1 0.1234
2 1.0000
3 0.0000
dtype: float64
will coerce the integer upper/lower bounds to the float data.
Environment overview (please complete the following information)
conda install rapids-0.19
The text was updated successfully, but these errors were encountered: