File to Analysis — Automatically perform descriptive statistical analysis and visualization from any data source
Project description
f2a — File to Analysis
A Python library that automatically performs descriptive statistical analysis and visualization from data sources
Installation
pip install f2a
# With HuggingFace dataset support
pip install f2a[hf]
# All features
pip install f2a[all]
Quick Start
import f2a
# Analyze a local CSV file
report = f2a.analyze("data/sales.csv")
report.show() # Print summary to console
# Analyze a Hugging Face dataset
report = f2a.analyze("hf://imdb")
report.show()
# Access detailed results
report.stats.summary # Summary statistics DataFrame
report.stats.correlation # Correlation matrix
report.viz.plot_distributions() # Distribution plots
Supported Formats
| Format | Extensions | Extra Install |
|---|---|---|
| CSV / TSV | .csv, .tsv |
— |
| JSON / JSONL | .json, .jsonl |
— |
| Parquet | .parquet |
pip install f2a[parquet] |
| Excel | .xlsx, .xls |
pip install f2a[excel] |
| SQLite | .db, .sqlite3 |
— |
| Stata | .dta |
— |
| XML / HTML | .xml, .html |
— |
| HuggingFace | hf://dataset_name |
pip install f2a[hf] |
Analysis Features
- Descriptive Statistics: Mean, median, standard deviation, quantiles, mode, etc.
- Distribution Analysis: Skewness, kurtosis, normality tests
- Correlation Analysis: Pearson, Spearman, Cramér's V
- Missing Data Analysis: Missing ratio, pattern analysis
- Visualization: Histograms, boxplots, correlation heatmaps, missing data matrix
Development
git clone https://github.com/CocoRoF/f2a.git
cd f2a
pip install -e ".[dev]"
pytest
License
MIT License — See LICENSE for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file f2a-0.1.0.tar.gz.
File metadata
- Download URL: f2a-0.1.0.tar.gz
- Upload date:
- Size: 303.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65cd430808efd3d6c8cda41ad520973eabbad12be94b7d6887327660fb9d0e3a
|
|
| MD5 |
dcdc113d09e461b2eade16f92eb652ce
|
|
| BLAKE2b-256 |
10a4ced5ed55fa948081b1ac9a7237626c80b99043481883b5287ddb16ae508f
|
Provenance
The following attestation bundles were made for f2a-0.1.0.tar.gz:
Publisher:
publish.yml on CocoRoF/f2a
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
f2a-0.1.0.tar.gz -
Subject digest:
65cd430808efd3d6c8cda41ad520973eabbad12be94b7d6887327660fb9d0e3a - Sigstore transparency entry: 1094619070
- Sigstore integration time:
-
Permalink:
CocoRoF/f2a@57cba44f04024f3c658cb09b36e1c1b1f79179bc -
Branch / Tag:
refs/heads/deploy - Owner: https://github.com/CocoRoF
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@57cba44f04024f3c658cb09b36e1c1b1f79179bc -
Trigger Event:
push
-
Statement type:
File details
Details for the file f2a-0.1.0-py3-none-any.whl.
File metadata
- Download URL: f2a-0.1.0-py3-none-any.whl
- Upload date:
- Size: 36.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8baac8867555541a025cdc0d021cd2d1c0032d0ca3968009fca81c56cf0ae77
|
|
| MD5 |
1e04f5db3f271b7ac34f8016a8651336
|
|
| BLAKE2b-256 |
be5459c052b0e0c1dda6df81c78500f0988782c5db2d4233556afb42d41370d6
|
Provenance
The following attestation bundles were made for f2a-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on CocoRoF/f2a
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
f2a-0.1.0-py3-none-any.whl -
Subject digest:
c8baac8867555541a025cdc0d021cd2d1c0032d0ca3968009fca81c56cf0ae77 - Sigstore transparency entry: 1094619162
- Sigstore integration time:
-
Permalink:
CocoRoF/f2a@57cba44f04024f3c658cb09b36e1c1b1f79179bc -
Branch / Tag:
refs/heads/deploy - Owner: https://github.com/CocoRoF
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@57cba44f04024f3c658cb09b36e1c1b1f79179bc -
Trigger Event:
push
-
Statement type: