A beginner-friendly Python data analysis library.
Project description
smilo
A beginner-friendly Python data analysis library for cleaning, splitting, exploring, and visualizing data.
Installation
pip install smilo
Usage
from smilo.clean import remove_nulls from smilo.split import train_test_split from smilo.stats import mean, median, standard_deviation from smilo.utils import load_csv, dataset_info from smilo.viz import quick_hist
data = [1, None, 2, None, 3] clean_data = remove_nulls(data) print(clean_data) # [1, 2, 3]
train, test = train_test_split([1,2,3,4,5,6,7,8,9,10], test_size=0.2, seed=42)
print(mean([1, 2, 3, 4, 5])) # 3.0
Modules
- clean.py — remove_nulls, fill_nulls, remove_duplicates, remove_empty_strings
- split.py — train_test_split, k_fold_split
- stats.py — mean, median, mode, minimum, maximum, data_range, total, count, variance, standard_deviation
- utils.py — load_csv, dataset_info, column_types
- viz.py — quick_hist, quick_corr
License
MIT
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 smilo-0.1.0.tar.gz.
File metadata
- Download URL: smilo-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfa1dd1e542d4c9a8987f15963643034998612fb0c19d0c4ece46868ed7e3129
|
|
| MD5 |
f617919cbdcf7eeda941385cc3f27e11
|
|
| BLAKE2b-256 |
e27f2a2fe8741596043d9f1f0fd30f025f713ce34b3973e94d7b90f4bb25b579
|
File details
Details for the file smilo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: smilo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e1f585e936a8dc6fd1d5cd1316d289a2ca695164921f0924ea4199bbd33a0e8
|
|
| MD5 |
844f6b829e0c050def7488daccd41e89
|
|
| BLAKE2b-256 |
a420323a72da7f08877cac5275225132a59c41668d5a227259a734faa86cd8a8
|