Skip to main content

A Python library for data analysis and visualization using pandas, numpy, matplotlib, and seaborn.

Project description

pylibswathi 📊

pylibswathi is a lightweight and easy-to-use Python library built to accelerate Exploratory Data Analysis (EDA) and preliminary dataset inspection for data science projects. It wraps essential Pandas, NumPy, Seaborn, and Matplotlib utilities to help you quickly understand the structure, quality, and relationships within your dataset.


✨ Features

  • ✅ Quick DataFrame summary: shape, datatypes, missing values, and statistics
  • ✅ Visualize correlation matrix with heatmaps
  • ✅ Detect outliers using the IQR method
  • ✅ Plot numeric feature distributions
  • ✅ Report missing values as proportions
  • ✅ Get value counts for all categorical columns

📦 Installation

bash pip install pylibswathi

Since this is a custom library, clone or copy the source code into your project directory or package it using setuptools if needed.

bash

Clone this repository or include the file directly

git clone https://github.com/yourusername/pylibswathi.git

In your Python project:

from pylibswathi import df_summary, missing_report, correlation_matrix, outlier_summary, plot_distributions, value_counts_all

🧪 How to Use

  1. df_summary(df) Provides an overall summary of the DataFrame including shape, data types, missing values, and descriptive statistics.

import pandas as pd from pylibswathi import df_summary

df = pd.read_csv("your_data.csv") df_summary(df)

  1. missing_report(df) Returns a Series with the proportion of missing values in each column (sorted descending).

from pylibswathi import missing_report

missing_report(df)

  1. correlation_matrix(df) Plots a heatmap of correlation coefficients for all numeric features in the DataFrame.

from pylibswathi import correlation_matrix

correlation_matrix(df)

  1. outlier_summary(df) Returns a count of outliers per numeric column using the IQR method.

from pylibswathi import outlier_summary

outlier_summary(df)

  1. plot_distributions(df) Displays histograms of all numeric columns in the DataFrame.

from pylibswathi import plot_distributions

plot_distributions(df)

  1. value_counts_all(df) Returns a dictionary with value counts for all object (categorical) columns.

from pylibswathi import value_counts_all

value_counts_all(df)

🧑‍💻 Developer Swathi Dattha Lakshmi Pasupuleti Information Technology | Web Dev Enthusiast

📜 License This project is licensed under the MIT License. Feel free to use and modify!

🙌 Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.

🧠 Future Features Advanced outlier detection (Z-score, Isolation Forest)

Interactive plots using Plotly

Automatic report generation using pandas-profiling or sweetviz

Let me know if you'd like help setting this up as a proper Python package

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pylibswathi-0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

pylibswathi-0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file pylibswathi-0.1.tar.gz.

File metadata

  • Download URL: pylibswathi-0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for pylibswathi-0.1.tar.gz
Algorithm Hash digest
SHA256 20b8123a9b3ee78a663cb43c2e0b3597d0885cf93d69a18646e3ecace7c25fb4
MD5 b4ba4eb033e9c6a03c72daa243039e09
BLAKE2b-256 1d8e372444e82f1e4194c193f681661e34f56e85609123c90344717f5980b1bc

See more details on using hashes here.

File details

Details for the file pylibswathi-0.1-py3-none-any.whl.

File metadata

  • Download URL: pylibswathi-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for pylibswathi-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96c5c10199583585b50d66e688fe8f947b50a0ee7567b61f552eb103bdf91060
MD5 3f5eeef3e9714e7403da493c3264de19
BLAKE2b-256 6777be205f69d4e9a863f0ab7ce755199f750683614ebbc85f0744f2bdcb4f9d

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