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

Added csv_to_parquet() #88

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Added csv_to_parquet() #88

wants to merge 1 commit into from

Conversation

edsu
Copy link
Contributor

@edsu edsu commented Jul 19, 2024

The utils.csv_to_parquet() function will efficiently create a Parquet file for the given CSV. It currently assumes that the Parquet file schema where all the columns are strings. But if it's useful we could adjust this and allow a schema to be passed in?

The reason why we don't simply use Polars for this is that it seems to use large amounts of memory given the CSVs that we are collecting. See pola-rs/polars#13458 (comment) for context.

@edsu edsu marked this pull request as draft July 19, 2024 14:19
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

Successfully merging this pull request may close these issues.

1 participant