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

Add Pandas profile.py analyzer for JSON, CSV/TSV, and Parquet #157

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

criccomini
Copy link
Contributor

JSON, CSV, TSV, and Parquet files now have a Pandas data profile analyzer for local filesystems, remote object stores (S3), and remote HTTP(S) locations. The profiler also runs against all SQLAlchemy compatible URLs, so TablePath and ViewPath locations are also analyzed with Pandas.

I also took the opportunity to fix a bug in the Frictionless, GenSON, and DuckDB columns.py analyzers, which were using forward reference types for their create_analyzer methods. Since these analyzers both had the same class name, the bug caused the plugins to all resolve to the first analyzer class that it saw. Thus, DuckDB's analyzer was returned for the Frictionless and GenSON analyzers as well.

Future work:

  • And Pandas's DataFrame.hist() data to the profile.
  • Add sampling support to the analyzer.

JSON, CSV, TSV, and Parquet files now have a Pandas data profile analyzer for
local filesystems, remote object stores (S3), and remote HTTP(S) locations. The
profiler also runs against all SQLAlchemy compatible URLs, so `TablePath` and
`ViewPath` locations are also analyzed with Pandas.

I also took the opportunity to fix a bug in the Frictionless, GenSON, and
DuckDB columns.py analyzers, which were using forward reference types for their
`create_analyzer` methods. Since these analyzers both had the same class name,
the bug caused the plugins to all resolve to the first analyzer class that it
saw. Thus, DuckDB's analyzer was returned for the Frictionless and GenSON
analyzers as well.

Future work:

* And Pandas's `DataFrame.hist()` data to the profile.
* Add sampling support to the analyzer.
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