Data profiling utilities
Project description
data_profile
data_profile is a lightweight Python utility for quickly profiling tabular datasets (Pandas DataFrames).
It helps you understand basic data quality and structure by summarising:
- Column names
- Data types
- Null (missing) counts
- Null percentages
- Number of unique values
- Sample of unique values
This is especially useful in EDA (Exploratory Data Analysis) and data quality checks before modelling.
🚀 Features
- Simple
DataReaderclass that wraps apandas.DataFrame - One-call
data_summary()method to generate a clean summary table - Custom exception handling via
CustomPacakgeException - Logging support via
loggingfromdata_profile.logging.logger
📦 Installation
Notebook
!pip install ML-data-profile
🧩 Usage
1️⃣ Import and prepare your data
import pandas as pd
import data_profile
from data_profile import DataReader
# Example DataFrame
df = pd.DataFrame({
"age": [25, 30, 35, None],
"gender": ["M", "F", "M", "F"],
"income": [50000, 60000, None, 80000]
})
#Initialize DataReader
data_reader = DataReader(df)
#Generate summary
summary = data_reader.data_summary()
summary
Project details
Release history Release notifications | RSS feed
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 ml_data_profile-0.1.4.2.tar.gz.
File metadata
- Download URL: ml_data_profile-0.1.4.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9231d3a556fdac908e107d1e3f9c4bf37c7c1e96569734df9d6fd591a32c2b7e
|
|
| MD5 |
492dcd6f378cd910f32306c1066a4aaa
|
|
| BLAKE2b-256 |
3e47d6838dbf21173c9b225d088ea0c841081362f8cd58d3881dc8a6f7ae0f29
|
File details
Details for the file ml_data_profile-0.1.4.2-py3-none-any.whl.
File metadata
- Download URL: ml_data_profile-0.1.4.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ca998b0938a4c2ba8546a8dbae6c99e231516cf628372d1e732362158cec87d
|
|
| MD5 |
e13e2d97c55e6894368eb22f2b2b15b8
|
|
| BLAKE2b-256 |
c502a66d2effab2edf0cd70762132523497415a029246db1258e118fc79ddf99
|