Skip to main content

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 DataReader class that wraps a pandas.DataFrame
  • One-call data_summary() method to generate a clean summary table
  • Custom exception handling via CustomPacakgeException
  • Logging support via logging from data_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ml_data_profile-0.1.4.6.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

ml_data_profile-0.1.4.6-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file ml_data_profile-0.1.4.6.tar.gz.

File metadata

  • Download URL: ml_data_profile-0.1.4.6.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ml_data_profile-0.1.4.6.tar.gz
Algorithm Hash digest
SHA256 2be64c3e5ebf33ded317c284cc90218e280ffe75a2b00c6242dfb28d97d27902
MD5 1c952cef6b9bf7eff2c56594771d5e69
BLAKE2b-256 16def6f52c4e49a41fbe71cf3b624b1291362c5cb8487530419707138b7264dd

See more details on using hashes here.

File details

Details for the file ml_data_profile-0.1.4.6-py3-none-any.whl.

File metadata

File hashes

Hashes for ml_data_profile-0.1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f0af10949d2e750dc665fac0108919726dacb292f8a4fe9cdf9eb699617bfac6
MD5 4aa5f83c1b4a7afe4f74ee1c410d09f0
BLAKE2b-256 b950b8dac333d9d9b99d3950510a998ffbeeee405115b90c3b5e66b7484daf7a

See more details on using hashes here.

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