Skip to main content

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:

    • Numeric Columns:

      • Descriptive statistics (mean, median, standard deviation, etc.).
      • Skewness and kurtosis.
    • Categorical Columns:

      • Count of unique values.
      • Top 5 most frequent values with their percentages.
    • Datetime Columns:

      • Minimum and maximum values.
      • Range in days.
  • 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).

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)

Source distribution for data-profiler-kit 0.1.2
File Size Uploaded Provenance
data_profiler_kit-0.1.2.tar.gz 6.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for data-profiler-kit 0.1.2
File Interpreter ABI Platform
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

Security for data-profiler-kit 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page