Skip to main content

A Python package for data analysis and visualization using Pandas, NumPy, Matplotlib, and Seaborn.

Project description

bnrrcpy 📊

bnrrcpy 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 bnrrcpy

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/Nithin789b/bnrrcpy.git

In your Python project:

from bnrrcpy 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 bnrrcpy 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 bnrrcpy import missing_report

missing_report(df)

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

from bnrrcpy import correlation_matrix

correlation_matrix(df)

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

from bnrrcpy import outlier_summary

outlier_summary(df)

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

from bnrrcpy import plot_distributions

plot_distributions(df)

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

from bnrrcpy import value_counts_all

value_counts_all(df)

🧑‍💻 Developer Nitheswar Reddy Bommepalli Artificial Intelligence & Data Science | ML & 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

bnrrcpy-0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

bnrrcpy-0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bnrrcpy-0.1.tar.gz
Algorithm Hash digest
SHA256 9bb5baa45c589a55e63602a85ff3502f792c2a3b41770ae087dc82d7def675d7
MD5 d16834a6fe49b25c5fd7f8cf93c534c0
BLAKE2b-256 75e65fc270768a7af4c1aebf79907dd11a3291ed1baeb082d9fe7b7fd581b139

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bnrrcpy-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2eb8e6d781ec8bb1208eaed2d1a85473f409d4415b2d5c5847158d47b99e03e
MD5 b6527c78fa439d8d380bca250892a52b
BLAKE2b-256 fe8f59e840936bb02f3114ade6e9db2a26b459a23fd601ab35be6bfa06cb0681

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