DataProfilerKit
A Python library that provides quick and insightful data profiling for pandas DataFrames. It generates detailed reports including missing values analysis, data type information, correlations, outliers, and column statistics in a clear, organized format.
Installation
pip install data-profiler-kit
Usage
from dataprofilerkit import DataProfiler
import pandas as pd
# Create or load your DataFrame
df = pd.read_csv('your_data.csv')
# Create a DataProfiler instance
profiler = DataProfiler(df)
# Generate the profile
profile = profiler.generate_profile()
# Access different aspects of the profile
print("Basic Information:")
print(profile['basic_info'])
print("\nMissing Values Analysis:")
print(profile['missing_values'])
print("\nColumn Statistics:")
print(profile['column_stats'])
print("\nDuplicates Analysis:")
print(profile['duplicates'])
print("\nOutliers Analysis:")
print(profile['outliers'])
Core Functionality
-
Basic DataFrame Information:
- Number of rows, columns, and total cells.
- Memory usage of the DataFrame.
- Data types and their counts.
-
Missing Value Analysis:
- Total missing values across the DataFrame.
- Missing values by column.
- Percentage of missing values for each column.
-
Column-wise Analysis:
-
Duplicate Detection:
- Duplicate rows (count and percentage).
- Duplicate columns (count and list of column names).
-
Outlier Detection:
- For numeric columns, detects outliers using:
- Z-score method (with indices and percentages).
- Interquartile Range (IQR) method (with indices and percentages).
- For numeric columns, detects outliers using:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for data-profiler-kit 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| data_profiler_kit-0.1.2.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| data_profiler_kit-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / data_profiler_kit-0.1.2.tar.gz
| Download URL | data_profiler_kit-0.1.2.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03ff9258b9a558a9af2302addf38c07aeff4dd59369c4e02e4b73d831b952b66
|
|
BLAKE2b-256 checksum How to use checksums |
d139016f825f54e3f518910c57d6830e9fac0c78317851e9a1a722e58605b9d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.18
|
Release files / data_profiler_kit-0.1.2-py3-none-any.whl
| Download URL | data_profiler_kit-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
977010cbe6676683a7520446da639cc23305eb2022423e3c75e412345460073c
|
|
BLAKE2b-256 checksum How to use checksums |
70759a58295a86187e53feb1e617b7519cad378b726619622b2eb0890d217eb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.18
|