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

support reading parquet files #40

Merged
merged 3 commits into from
Apr 7, 2023
Merged

support reading parquet files #40

merged 3 commits into from
Apr 7, 2023

Conversation

rmudambi
Copy link
Collaborator

@rmudambi rmudambi commented Apr 7, 2023

Add support for reading parquet files

Description

  • Category: feature
  • JIRA issue: MIC-3985

Added support for reading parquet files
Added temporary fix to support universal categorical columns

Testing

Ran automated tests
Successfully read both hdf and parquet files with generate_decennial_census

elif isinstance(source, Path):
if source.suffix == ".hdf":
data = pd.read_hdf(source)
if not isinstance(data, pd.DataFrame):
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be moved to after the parquet elif?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure I can move it.

@stevebachmeier stevebachmeier self-requested a review April 7, 2023 18:13
@rmudambi rmudambi merged commit a77b937 into develop Apr 7, 2023
@rmudambi rmudambi deleted the feature/parquet branch April 7, 2023 19: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.

3 participants