A beginner-friendly Python library for descriptive statistics and data cleaning.
Project description
IDS DataTools HMQ 2026
ids-datatools-hmq-2026 is a small, beginner-friendly Python library created for an Introduction to Data Science project. It provides reusable functions for descriptive statistics and common data-cleaning operations without requiring external dependencies.
Installation
pip install ids-datatools-hmq-2026
Quick example
from ids_datatools_hmq import calculate_mean, minmax_normalize, remove_missing
scores = [72, 85, None, 91, 85]
clean_scores = remove_missing(scores)
print(calculate_mean(clean_scores))
print(minmax_normalize(clean_scores))
Output:
83.25
[0.0, 0.6842105263157895, 1.0, 0.6842105263157895]
Available functions
Statistics
calculate_mean(values)calculate_median(values)calculate_range(values)calculate_standard_deviation(values, sample=False)summarize(values)
Data cleaning
remove_missing(values, missing_markers=(None, ""))remove_duplicates(values)minmax_normalize(values)zscore_normalize(values)clip_outliers_iqr(values, factor=1.5)
Command-line demo
After installation, run:
ids-datatools-demo
License
MIT License.
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 ids_datatools_hmq_2026-1.0.0.tar.gz.
File metadata
- Download URL: ids_datatools_hmq_2026-1.0.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32458d1ab591e00d3d3218e95c363ef70b3f75f06d382dea0fee2d849ac67aa8
|
|
| MD5 |
68bf6d031c18b336692c68fa31a2398e
|
|
| BLAKE2b-256 |
3ca4df311bcd84984cde5c050e66d900f190d2571acb2ed13a6a61770d10c751
|
File details
Details for the file ids_datatools_hmq_2026-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ids_datatools_hmq_2026-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af5e765ab57ab089d5169f47d00420524e1f5524d54e6734c5c18b9f2e0492cb
|
|
| MD5 |
a54a2f633f5fecb4a8211d9e078eff98
|
|
| BLAKE2b-256 |
e0492640970af4cc946a60f278a5afdf1c07a927e51f41148b023877a1946681
|