Describe the bug
pd.api.interchange.from_dataframe fails with simple cuDF dataframe
Steps/Code to reproduce bug
import cudf
import pandas as pd
df = cudf.DataFrame({'a': [1,2,3], 'b': [4,5,6]})
pd.api.interchange.from_dataframe(df)
this crashes the session https://colab.research.google.com/drive/1QXtKPcKQONi1g8WY9lI6FPZFhik_VVYg?usp=sharing
Expected behavior
it should convert to pandas dataframe with the same data
Environment overview (please complete the following information)
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider)]
- Method of cuDF install: [conda, Docker, or from source]
- If method of install is [Docker], provide
docker pull & docker run commands used
Environment details
Please run and paste the output of the cudf/print_env.sh script here, to gather any other relevant environment details
colab notebook
Additional context
Add any other context about the problem here.
Describe the bug
pd.api.interchange.from_dataframe fails with simple cuDF dataframe
Steps/Code to reproduce bug
this crashes the session https://colab.research.google.com/drive/1QXtKPcKQONi1g8WY9lI6FPZFhik_VVYg?usp=sharing
Expected behavior
it should convert to pandas dataframe with the same data
Environment overview (please complete the following information)
docker pull&docker runcommands usedEnvironment details
Please run and paste the output of the
cudf/print_env.shscript here, to gather any other relevant environment detailscolab notebook
Additional context
Add any other context about the problem here.