Skip to main content

A simple library for easy exploratory data analysis

Project description

Easy Insight (One Click - Easy Exploratory Data Analysis)

Easy Insight is a simple library designed for exploratory data analysis (EDA) 📊. It provides an easy way to inspect and analyze datasets, helping you to quickly understand the structure and contents of your data 📈.

Features

  • 🔍 Basic data inspection
  • ❓ Missing values analysis
  • 📊 Univariate analysis for numerical and categorical features
  • 🔗 Bivariate analysis for understanding relationships between variables
  • 🌐 Multivariate analysis for comprehensive insights

Installation ⚙️

You can install Easy Insight using Poetry or pip.

Using Poetry

  1. Install Poetry if you haven't already:

    curl -sSL https://install.python-poetry.org | python3 -
    
  2. Then run:

    poetry add easy-insight
    

Using pip

pip install easy-insight

Usage 🚀

Here's a quick example of how to use Easy Insight for exploratory data analysis on a DataFrame df:

import pandas as pd

from easy_insight.eda_tools.basic_data_inspection import DataInspector, DataTypeInspectionStrategy, SummaryStatisticsInspectionStrategy

from easy_insight.eda_tools.missing_values_analysis import SimpleMissingValuesAnalysis

from easy_insight.eda_tools.univariate_analysis import UnivariateAnalyzer, NumericalUnivariateAnalysis, CategoricalUnivariateAnalysis

from easy_insight.eda_tools.bivariate_analysis import BivariateAnalyzer, NumericalVsNumericalAnalysisStrategy, CategoricalVsNumericalAnalysisStrategy

from easy_insight.eda_tools.multivariate_analysis import SimpleMultivariateAnalysis

Load your DataFrame (example) 📂

df = pd.read_csv('your_dataset.csv')

Quick Automated EDA ⚡

For Quick automated EDA

from easy_insight.eda_tools.utility import quick_eda

quick_eda(df, perform_data_inspection=True, perform_missing_values_analysis=True,
          perform_univariate_analysis=True, perform_bivariate_analysis=True, perform_multivariate_analysis=True)

For Quick but Customized EDA 🛠️

Data Inspection

data_inspector = DataInspector(DataTypeInspectionStrategy())
data_inspector.evaluate_inspection(df)

Set strategy to Summary Statistics

data_inspector.set_strategy(SummaryStatisticsInspectionStrategy())
data_inspector.evaluate_inspection(df)

Missing Values Analysis❓

missing_values_analysis = SimpleMissingValuesAnalysis()
missing_values_analysis.analyze(df)

Univariate Analysis 📊

univariate_analyzer = UnivariateAnalyzer(NumericalUnivariateAnalysis())
numerical_columns = df.select_dtypes(include=[int, float]).columns
for feature in numerical_columns:
    univariate_analyzer.execute_analysis(df, feature=feature)

Bivariate Analysis 🔗

bivariate_analysis = BivariateAnalyzer(CategoricalVsNumericalAnalysisStrategy())
bivariate_analysis.execute_analysis(df, "department", "annual_salary")

Multivariate Analysis 🌐

multivariate_analysis = SimpleMultivariateAnalysis()
multivariate_analysis.analyze(df)

Contributing 🤝

Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or bugs you encounter.

License 📝

This project is licensed under the MIT License. See the LICENSE file for details.

Author ✍️

Durgesh Rathod - durgeshrathod.777@gmail.com

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

easy_insight-1.0.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

easy_insight-1.0.4-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file easy_insight-1.0.4.tar.gz.

File metadata

  • Download URL: easy_insight-1.0.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

File hashes

Hashes for easy_insight-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f8e2eb0d233e382d914f1a869ece761da034c4b6f246f25dbec05009fefe116b
MD5 7ed0afa9b6c5574c07b383a55c8cd64d
BLAKE2b-256 dfa4f0adfd10abd0852da834a9af07d82c80d67f282310d1e5a1b5c50f0f2875

See more details on using hashes here.

File details

Details for the file easy_insight-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: easy_insight-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

File hashes

Hashes for easy_insight-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 624143cfe101cecf92181f3cfedc7b298f6b0ffe04fd9b53e013088433ddb4e7
MD5 e62f59535f67840d994af6088cc6e3b7
BLAKE2b-256 60559b90b4daf5ca443afb4a26b3769d18e4bf933b4e2a91cace27b3016ecec3

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