A helper package for Exploratory Data Analysis (EDA)
Project description
EDA Helper Function - Boost your Exploretory Data Analysis Process!
Credit
- I first came to this idea of using helper function from a course by @MisbahullahSheriff and it was brilliant. This EDA helper function originally was created by @MisbahullahSheriff. Now I have edited the file and organized it for easy to use.Extra functions has been added by me.
Installation
Use in Google Colab: put the fill in the notebook's directory
import google.colab.drive as drive
drive.mount('/content/drive', force_remount=True)
import sys
import os
sys.path.append('<your_directory>')
import eda_helper_functions as ehf
Step-by-Step EDA
-
Import Libraries
-
Read
trainingdataset, we perform EDA only ontrainingdataset -
High-level Analysis
-
Data Summary:
- .info() method
- .describe() method on
numericandcategoricalfeatures separately
-
Missing Data:
-
find missing value with number and percentages
ehf.missing_info(df)
-
bar plot for better visualization of missing data
ehf.plot_missing_info(df)
-
-
Outliers:
- Isolation forest
-
Pair plots:
ehf.pair_plots(df)
-
Correlation Analysis(heatmaps):
- Numeric(Pearson's/Spearman's)
- Categorical(Cramer's V)
ehf.correlation_heatmap(df)
ehf.cramersV_heatmap(df)
-
-
Detailed Analysis of each Columns
df.columns # find all columns
-
Summary
ehf.cat_summary(df, "<cat_feature>")
-
Univariate plots
ehf.cat_univar_plots(df, "<cat_feature>")
-
Bivariate plots
ehf.num_cat_bivar_plots( data=train, num_var="<num_feature>", cat_var="<cat_feature>" )
-
Hypothesis Testing(normality, strength of association)
ehf.num_cat_bivar_plots( data=train, num_var="<num_feature>", cat_var="<cat_feature>" )
-
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file my_eda_helper-0.1.0.tar.gz.
File metadata
- Download URL: my_eda_helper-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
545f957bd78f7e1df0fb309aeee0772298d018427624d7e7cf430d4fb686d42f
|
|
| MD5 |
04ea99b442ead867734d8975877f8f73
|
|
| BLAKE2b-256 |
9c7799c213608505cdda1db6e7579c7a23d779aa2c8d34225e7ee97efef4fa61
|
File details
Details for the file my_eda_helper-0.1.0-py3-none-any.whl.
File metadata
- Download URL: my_eda_helper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0def8d755b8f25065a16713ee655fba2862a479a463159d38158045298cbe8be
|
|
| MD5 |
1d33304a2cb68e645891daace30c6280
|
|
| BLAKE2b-256 |
41be63bee1a792ec04416109a06b8a25ab8d1bf037999f6b765841787991a641
|