Deep Study - Dataset Overview and Feature Analysis for Data Science
Project description
Deep Study
Automated Dataset Overview and Feature Analysis for Data Science
Deep Study is a lightweight Python package for automated exploratory data analysis (EDA), featuring detailed feature profiling and analysis with target variables. Generate professional HTML reports with just a few lines of code.
Features
- Feature Profiling: Detailed statistics for each feature (distinct values, missing values, distribution, memory usage)
- Target Analysis: Automatic analysis of feature relationships with target variable
- Feature Importance: ML-based feature importance using Random Forest
- Beautiful Reports: Generate professional HTML reports with visualizations
- Jupyter Integration: Reports render beautifully in Jupyter notebooks
- Easy to Use: Simple API - just 3 lines of code to generate a complete analysis
Installation
pip install deep-study
Or install from source:
git clone https://github.com/arshadziban/deep_study_lib.git
cd deep_study_lib
pip install -e .
Quick Start
from deep_study import Analyzer
# Create analyzer with your data
analyzer = Analyzer(df, target="target_column")
# Run analysis
report = analyzer.run()
# Display in Jupyter notebook (automatically renders HTML)
report
# Or save HTML report to file
report.save_html("deep_study_report.html")
# Print summary to console
report.summary()
Report Contents
The generated HTML report includes:
1. Dataset Summary
- Total rows and columns
- Target variable information
- Overall dataset statistics
2. Feature Overview with Target Variable
- All features with their types and statistics
- Relationship indicators with target variable
- Missing value analysis
3. Individual Feature Profiles
For each feature in your dataset:
- Type: Numeric, Categorical, or DateTime
- Distinct Values: Count and percentage
- Missing Values: Count and percentage
- Memory Usage: Efficient memory tracking
- Distribution Visualization: Histograms for numeric, bar charts for categorical
- Statistics: Mean, min, max (with K/M/B formatting for large numbers)
- Top Values: Most frequent values for categorical features
API Reference
Analyzer
from deep_study import Analyzer
analyzer = Analyzer(data, target)
Parameters:
data: pandas DataFrame or path to CSV/Excel filetarget: Name of the target column
Methods:
run(): Execute analysis and return Report object
Report
Methods:
save_html(filename): Save report to HTML filesummary(): Print analysis summary to consoleget_top_features(n): Get top N important featuresget_feature_profile(name): Get profile for specific feature
Example Output
from deep_study import Analyzer
import pandas as pd
# Load your data
df = pd.read_csv("your_data.csv")
# Analyze
analyzer = Analyzer(df, target="outcome")
report = analyzer.run()
# View in notebook or save
report.save_html("analysis_report.html")
Requirements
- Python >= 3.8
- pandas >= 1.3.0
- numpy >= 1.20.0
- scikit-learn >= 1.0.0
- matplotlib >= 3.4.0
- jinja2 >= 3.0.0
Author
Shah Md. Arshad Rahman Ziban
Acknowledgments
- Built with pandas, scikit-learn, and matplotlib
- Inspired by the need for quick, professional data analysis reports
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
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 deep_study-1.0.1.tar.gz.
File metadata
- Download URL: deep_study-1.0.1.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d5aa918772c15fffbb0a008348001832726ea81c011844e02b312a061b93b42
|
|
| MD5 |
8954a4b2bbc76e549d79bac180b47405
|
|
| BLAKE2b-256 |
12084244506460fd60ac7c366f0dd754d0cd64232f33f513bbcce92c28be305c
|
Provenance
The following attestation bundles were made for deep_study-1.0.1.tar.gz:
Publisher:
publish.yml on arshadziban/deep_study_lib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deep_study-1.0.1.tar.gz -
Subject digest:
5d5aa918772c15fffbb0a008348001832726ea81c011844e02b312a061b93b42 - Sigstore transparency entry: 856117633
- Sigstore integration time:
-
Permalink:
arshadziban/deep_study_lib@6f389503cc954eb000892657db23301ea272c783 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/arshadziban
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6f389503cc954eb000892657db23301ea272c783 -
Trigger Event:
release
-
Statement type:
File details
Details for the file deep_study-1.0.1-py3-none-any.whl.
File metadata
- Download URL: deep_study-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78e2516cc9e4aa7c086bae74c38c1cf27d4c76b84842694f88e042587b4614b4
|
|
| MD5 |
de00685ba95f498231d6847601b62e95
|
|
| BLAKE2b-256 |
b7e81864faf5b1b86ad02020fff0e5e4325dbd9a62e68edd70971475a0f11367
|
Provenance
The following attestation bundles were made for deep_study-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on arshadziban/deep_study_lib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deep_study-1.0.1-py3-none-any.whl -
Subject digest:
78e2516cc9e4aa7c086bae74c38c1cf27d4c76b84842694f88e042587b4614b4 - Sigstore transparency entry: 856117675
- Sigstore integration time:
-
Permalink:
arshadziban/deep_study_lib@6f389503cc954eb000892657db23301ea272c783 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/arshadziban
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6f389503cc954eb000892657db23301ea272c783 -
Trigger Event:
release
-
Statement type: