A library for advanced DataFrame statistics analysis.
Project description
My Statistics Library
A library for advanced DataFrame statistics analysis, returns:
=========================== df_name ============================
Leading Zeros in Columns
| col1 | col2 |
|---|---|
| 0000000000 | 0D2 |
| 0000001999 | 0D4 |
| 0000006669 | 0D1 |
General Stats
| Columns | DTypes | NaNs | 0_values | Unique | Duplicates | Totals | Min | Max | Mean | Median | STD | STD(%) | Outliers |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| col_1 | str | 0 | 0 | 5000 | 0 | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| col_2 | str | 0 | 0 | 5000 | 0 | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| col_3 | str, float | 1254 | 0 | 9 | 4991 | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| col_4 | str, float | 1254 | 0 | 9 | 4991 | NaN | NaN | NaN | NaN | NaN | NaN | NaN | NaN |
| col_5 | float | 0 | 74 | 4884 | 116 | 863.66 | -66 | 79.36 | 172.73 | 23.08 | 1.62 | 938.89 | 613.00 |
| col_6 | str | 0 | 0 | 6 | 4994 | NaN |
Installation
You can install the library using pip:
pip install stat-df
Importing the Library
from stat_df import statistics
Usage
statistics.show_stats(<df_name>)
statistics.show_stats(my_df)
will return "Leading Zeros in Columns" and "General Stats" tables.
statistics.show_sctplot(<df_name>, <"column name">)
statistics.show_sctplot(my_df, "SPENDINGS_RUR")
will return a scatter plot on desired column.
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 stat_df-0.1.2.tar.gz.
File metadata
- Download URL: stat_df-0.1.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdf61b356bb618ec39cf28cf2a6eaca6fdded9afb08e0da98392dee4ff6a55f6
|
|
| MD5 |
6fdf8c785badd3ba17147e2377c6cdb3
|
|
| BLAKE2b-256 |
a0eea8e796f54a9e2275b9a1335c61a0e4cdc737b087c9875412010b64d4002b
|
File details
Details for the file stat_df-0.1.2-py3-none-any.whl.
File metadata
- Download URL: stat_df-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
030ed56ab2b1dc7ebd8dc378083a61430faf3b2e55cb9196a715c607e0d2d995
|
|
| MD5 |
f5ac7aed761ccda2945bcea608c018ed
|
|
| BLAKE2b-256 |
9deb5dd16916f3858d0f591e2b2cd8acb534a72ea2bf191da327ffb22ff55118
|