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
What is your question? Should cudf.Series.unique return a ndarray or cudf.Series? I'll change this issue if this is a bug.
In [1]: import pandas as pd In [2]: import cudf In [3]: type(pd.Series([2,1,3,3]).unique()) Out[3]: numpy.ndarray In [4]: type(cudf.Series([2,1,3,3]).unique()) Out[4]: cudf.core.series.Series In [5]: type(pd.unique(pd.Series([2,1,3,3]))) Out[5]: numpy.ndarray
The text was updated successfully, but these errors were encountered:
I believe this came up recently here: #16417 And not so recently here: #8175
Sorry, something went wrong.
Note that we return a cupy array when cudf.pandas is enabled. (Also discussed in those linked issues.)
No branches or pull requests
What is your question?
Should cudf.Series.unique return a ndarray or cudf.Series? I'll change this issue if this is a bug.
The text was updated successfully, but these errors were encountered: