Skip to main content

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

Python License: MIT

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

f2a-0.1.0.tar.gz (303.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

f2a-0.1.0-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

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

Hashes for f2a-0.1.0.tar.gz
Algorithm Hash digest
SHA256 65cd430808efd3d6c8cda41ad520973eabbad12be94b7d6887327660fb9d0e3a
MD5 dcdc113d09e461b2eade16f92eb652ce
BLAKE2b-256 10a4ced5ed55fa948081b1ac9a7237626c80b99043481883b5287ddb16ae508f

See more details on using hashes here.

Provenance

The following attestation bundles were made for f2a-0.1.0.tar.gz:

Publisher: publish.yml on CocoRoF/f2a

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for f2a-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8baac8867555541a025cdc0d021cd2d1c0032d0ca3968009fca81c56cf0ae77
MD5 1e04f5db3f271b7ac34f8016a8651336
BLAKE2b-256 be5459c052b0e0c1dda6df81c78500f0988782c5db2d4233556afb42d41370d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for f2a-0.1.0-py3-none-any.whl:

Publisher: publish.yml on CocoRoF/f2a

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page