dfstats: quick and compact summary statistics
dfstats produces summary statistic tables with vertical orientation.
from dfstats import show_stats
show_stats(df)
| Var; N = 100 | Missing | Mean | Median | Std. | Min | Max |
|---------------|--------------|--------------|--------------|-------|--------------|--------------|
| int_col | 0 (0.0%) | 49.5 | 49.5 | 29.01 | 0.0 | 99.0 |
| int_with_miss | 20 (20.0%) | 57.0 | 59.5 | 27.6 | 0.0 | 99.0 |
| ing | | | | | | |
| float_col | 0 (0.0%) | 0.5 | 0.5 | 0.29 | 0.0 | 0.99 |
| float_col_wit | 0 (0.0%) | 2.0 | 2.06 | 0.94 | -0.79 | 4.44 |
| h_mean_2 | | | | | | |
| float_col_wit | 0 (0.0%) | -0.11 | 0.02 | 2.0 | -6.01 | 5.06 |
| h_std_2 | | | | | | |
| float_col_wit | 0 (0.0%) | 9.79 | 9.85 | 0.94 | 7.0 | 12.22 |
| h_min_7 | | | | | | |
| float_col_wit | 0 (0.0%) | 14.56 | 14.62 | 0.94 | 11.78 | 17.0 |
| h_max_17 | | | | | | |
| bool_col | 0 (0.0%) | 0.5 | 0.5 | 0.5 | 0.0 | 1.0 |
| datetime_col | 0 (0.0%) | 2022-01-01 | 2022-01-01 | | 2022-01-01 | 2022-01-01 |
| | | 00:00:49 | 00:00:49 | | 00:00:00 | 00:01:39 |
| datetime_col_ | 0 (0.0%) | 1995-01-01 | 1995-01-01 | | 1995-01-01 | 1995-01-01 |
| 2 | | 00:00:49 | 00:00:49 | | 00:00:00 | 00:01:39 |
| date_col | 0 (0.0%) | | | | 2022-01-01 | 2022-04-10 |
| date_col_2 | 0 (0.0%) | | | | 1500-01-01 | 1500-04-10 |
| str_col | 0 (0.0%) | | | | ABC | foo |
| enum_col | 0 (0.0%) | | | | low | high |
| categorical_c | 0 (0.0%) | | | | low | medium |
| ol | | | | | | |
| null_col | 100 (100.0%) | | | | | |
Primarily built for polars data frames. dfstats converts other
inputs, for compatibility with pandas.DataFrames install as
pip install dfstats[pandas]
Metadata
Release files for dfstats 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dfstats-0.0.1.tar.gz | 10.2 kB | Without provenance | Details for dfstats-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dfstats-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for dfstats-0.0.1-py3-none-any.whl |
Total release size: 16.5 kB
Release files / dfstats-0.0.1.tar.gz
| Download URL | dfstats-0.0.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0b46c6e01eff279bd30227494ffca7fccc535ace646f796e2e2fd261dc71aef
|
|
BLAKE2b-256 checksum How to use checksums |
84133a3bbe78a54cfed9eb28403ce88b8cc2f6c3717c445cad776d92f6043812
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|
Release files / dfstats-0.0.1-py3-none-any.whl
| Download URL | dfstats-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b40ec489914cefdfeb0ff0c40404bb91c01511b0632cf9f75f1613722d7a7f8d
|
|
BLAKE2b-256 checksum How to use checksums |
f953a71e0bd6299080f9454ada303a75779edc36691a0a61b54d4b88737969fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|
Security for dfstats 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.