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

fix(python): Fix DataFrame.to_arrow() for 0x0 dataframes #9144

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

zundertj
Copy link
Collaborator

No schema can be inferred from the batches, as ._df.to_arrow() returns an empty list. pa.Tables.from_batches() requires a schema if no batches are passed in.

Closes #8884.

No schema can be inferred from the batches, as `._df.to_arrow()` returns an empty list. `pa.Tables.from_batches()` requires a schema if no batches are passed in.

Closes pola-rs#8884.
@github-actions github-actions bot added fix Bug fix python Related to Python Polars labels May 31, 2023
@ritchie46
Copy link
Member

Thank you @zundertj

@ritchie46 ritchie46 merged commit a55f79d into pola-rs:main Jun 1, 2023
c-peters pushed a commit to c-peters/polars that referenced this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't interchange pl.DataFrame with no columns
2 participants