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.3.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.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ml_data_profile-0.1.4.3.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.3.tar.gz
Algorithm Hash digest
SHA256 5f018f0841011bc500a723c6a299a9087473974ff0fbc22edaead165a5f0bc85
MD5 b8fd68749acbdd6b478207cd85948270
BLAKE2b-256 b29e8d0e54cab14d1bce10914a219a3a8f7449fcdb55c93cdd28edc8e2671087

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ml_data_profile-0.1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 800bc08ff82f738a11cb2a569327b052f3767558b0776a7276968cafeef2c6f6
MD5 bf65971a5c864b31e6f7b85741f0dd39
BLAKE2b-256 ee1bc2679bde734239ed82d5e71691fffb6e7045ebc906977cf860cc99287b53

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