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

Pyarrow integration idea #22

Open
alxmrs opened this issue Feb 22, 2024 · 0 comments
Open

Pyarrow integration idea #22

alxmrs opened this issue Feb 22, 2024 · 0 comments

Comments

@alxmrs
Copy link
Owner

alxmrs commented Feb 22, 2024

Pyarrow has a concept of a Dataset, which is a table partitioned across files that are larger than memory.

https://arrow.apache.org/docs/python/dataset.html

This seems like quite a good fit for this project. I can see two approaches:

  1. Write a function that returns a PyArrow Dataset from an Xarray, where the table is unraveled.
  2. Create a PyArrow FileFormat that reads Zarr (or maybe, Xarray?) that does the conversions to tables automatically (https://arrow.apache.org/docs/python/generated/pyarrow.dataset.FileFormat.html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant