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

Option to write output tables as parquet files #763

Merged
merged 6 commits into from
Feb 6, 2024

Conversation

stefancoe
Copy link
Contributor

This PR adds the option to write output tables as parquet files, as described in this issue/feature request.

@jpn-- jpn-- self-requested a review December 15, 2023 14:32
@dhensle dhensle added the Phase 8 Feature planned for inclusion in Phase 8 release label Jan 30, 2024
Copy link
Member

@jpn-- jpn-- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a few suggested small changes to make this code more future-developer-friendly.

activitysim/core/configuration/top.py Outdated Show resolved Hide resolved
activitysim/core/configuration/top.py Outdated Show resolved Hide resolved

'h5_store' defaults to False, which means the output will be written out to csv.
'file_type' defaults to 'csv' but can also be used to specify 'parquet' or 'h5'.
When 'h5_store' is set to True, 'file_type' is ingored and the outputs are written to h5.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old setting should now be deprecated. I opened an issue #791 to address that separate from this PR.

activitysim/core/steps/output.py Outdated Show resolved Hide resolved
@jpn-- jpn-- self-assigned this Feb 6, 2024
@jpn-- jpn-- merged commit 63a0b85 into ActivitySim:develop Feb 6, 2024
18 checks passed
@jpn-- jpn-- mentioned this pull request Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Phase 8 Feature planned for inclusion in Phase 8 release
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants