A tool to generate quick data insights and column recommendations for dataframes
Project description
DataSnap
DataSnap is a simple Python package designed to help data professionals get quick insights into their dataframes. It provides an overview of data shape, missing values, and column recommendations based on best practices for naming conventions.
Features
- Overview of dataframe shape, missing values, and data types.
- Recommendations for renaming columns based on coding best practices.
- Code snippets for easy column renaming.
Installation
You can install the package via pip:
pip install datasnap
Usage
import pandas as pd
from datasnap.core import generate_report
df = pd.DataFrame({
'Order ID': [1, 2],
'Order Date': ['2024-01-01', '2024-01-02'],
'CustomerName': ['John Doe', 'Jane Doe'],
'State': ['NY', 'CA'],
'City': ['New York', 'Los Angeles'],
'Day': [1, 2],
'Month': [1, 1],
'Year': [2024, 2024]
})
overview, recommendations = generate_report(df)
print(overview)
print(recommendations)
License
This project is licensed under the MIT License - see the LICENSE file for details.
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 datasnap-0.1.0.tar.gz.
File metadata
- Download URL: datasnap-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adec8bd2f4d3381fccc61cb73491feb94bfd4b363169708ddb3457760475a7de
|
|
| MD5 |
1c594ca1f06cf6aeafce91bd82af3fe5
|
|
| BLAKE2b-256 |
080e0b0b2ae370ddc64fac8ec1e6499469b182f5c04fc14249c42a6470672f43
|
File details
Details for the file datasnap-0.1.0-py3-none-any.whl.
File metadata
- Download URL: datasnap-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6735283cb77138e00206dfaa76ae8665b2059b55ada469c9e8dc98422d2957f
|
|
| MD5 |
9396d965dba13fcac5c8559ba4580608
|
|
| BLAKE2b-256 |
8036c9a0f8e5414b43b760827ee0799b2579b642cf8cb2fbb4389e3ea464f8bd
|