Skip to content
New issue

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

[BUG] cudf.from_pandas(pd.PeriodIndex) raises a RuntimeError #14148

Closed
galipremsagar opened this issue Sep 21, 2023 · 0 comments
Closed

[BUG] cudf.from_pandas(pd.PeriodIndex) raises a RuntimeError #14148

galipremsagar opened this issue Sep 21, 2023 · 0 comments
Assignees
Labels
bug Something isn't working Python Affects Python cuDF API.

Comments

@galipremsagar
Copy link
Contributor

galipremsagar commented Sep 21, 2023

Steps/Code to reproduce bug

(Pdb) pd_idx
PeriodIndex(['2001-01-05', '2001-01-02', '2001-01-04', '2001-01-11',
             '2001-01-10', '2001-01-08', '2001-01-09', '2001-01-06',
             '2001-01-01', '2001-01-03', '2001-01-07'],
            dtype='period[D]')
(Pdb) cudf.from_pandas(pd_idx)
*** RuntimeError: CUDF failure at:/nvme/0/pgali/cudf/cpp/src/interop/from_arrow.cu:87: Unsupported type_id conversion to cudf

Expected behavior
Raise a TypeError.

Environment overview (please complete the following information)

  • Environment location: [Bare-metal
  • Method of cuDF install: [from source]
@galipremsagar galipremsagar added bug Something isn't working Python Affects Python cuDF API. labels Sep 21, 2023
@galipremsagar galipremsagar self-assigned this Sep 21, 2023
@galipremsagar galipremsagar changed the title [BUG] PeriodIndex.mean raises a RuntimeError [BUG] cudf.from_pandas(pd.PeriodIndex) raises a RuntimeError Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Python Affects Python cuDF API.
Projects
None yet
Development

No branches or pull requests

1 participant