One-liner utilities for the Python data science stack
Project description
OneKit
One-liner utilities for the Python data science stack OneKit eliminates repetitive boilerplate that every data scientist rewrites from scratch. It wraps NumPy, Pandas, Matplotlib, Seaborn, and SciPy with smart defaults, transparent reporting, and full parameter control.
Installation
pip install onekit
Quick Start
import onekit as ok
import pandas as pd
df = pd.read_csv('sales.csv')
# One‑call EDA
dk.quick_eda(df)
# Clean it up
df = dk.clean_columns(df)
df = dk.fix_dtypes(df)
df = dk.auto_impute(df)
# Visualise
dk.plot_distributions(df)
dk.plot_corr(df)
# Compare two groups
result = dk.compare_groups(
df[df['region'] == 'North']['revenue'],
df[df['region'] == 'South']['revenue']
)
print(result['interpretation'])
Features
| Function | What it does | Module |
|---|---|---|
auto_impute() |
Fill / drop missing values intelligently | pandas |
profile_df() |
Full dataset summary | pandas |
plot_distributions() |
Histogram + boxplot for every numeric column | seaborn |
plot_corr() |
Correlation heatmap | seaborn |
compare_groups() |
Automatic t‑test vs Mann‑Whitney | scipy |
quick_eda() |
Full exploratory pipeline | pipelines |
| … and many more | See documentation |
Documentation
Full documentation, including API reference and examples, is available at https://Tenali-Rama.github.io/onekit.
License
MIT
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 onekit-2.1.16.tar.gz.
File metadata
- Download URL: onekit-2.1.16.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c5ddf7ae07753667ee603b31b579f4ad11520aab87c68570dde668880a78293
|
|
| MD5 |
c8efb5da4e6198b2b95b7f1e232114c5
|
|
| BLAKE2b-256 |
ec41da6bece7f4f41f1cc3fdb3bfe6e8b6bb2335e654be8c5c492434c6dff80c
|
File details
Details for the file onekit-2.1.16-py3-none-any.whl.
File metadata
- Download URL: onekit-2.1.16-py3-none-any.whl
- Upload date:
- Size: 34.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
204ece1e5c4d2348c1cdc96e321bf8b2c5993bd6989d3f430a96c8d03734f4ec
|
|
| MD5 |
1ea7975082c531afad266cdf85779548
|
|
| BLAKE2b-256 |
8ad95f9540cf1d701df3f3a17b8e95d47aafb00b574d0e375504c98568ff90cc
|