You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, there would be support for cudf.Series.to_dict or cudf.Series.iteritems or cudf.Series.items so that a simple pd -> cudf replacement would work.
Describe alternatives you've considered
I'm currently using the workaround shown above.
Additional context
The text was updated successfully, but these errors were encountered:
@paul-tqh-nguyen we intentional haven't implemented these methods because there's a HUGE performance penalty to leaving the GPU that we don't want users to fall into implicitly. That being said we should throw more explicit exceptions here saying that they're not implemented for performance reasons, but if you need them to go via PyArrow.
Is your feature request related to a problem? Please describe.
It's useful to convert a series into a dictionary when interoperating with other Python libraries.
We can do this with a
pandas
series in a few ways.The above approaches don't seem to be supported in
cudf
.This is my current workaround:
Describe the solution you'd like
Ideally, there would be support for
cudf.Series.to_dict
orcudf.Series.iteritems
orcudf.Series.items
so that a simplepd
->cudf
replacement would work.Describe alternatives you've considered
I'm currently using the workaround shown above.
Additional context
The text was updated successfully, but these errors were encountered: