DIVE — Data Insight and Visualization Engine
Project description
DIVE — Data Insight and Visualization Engine
dive-for-data provides Dive, a small pure-Python container for ordered numeric data with:
- Statistical summaries (
mean,median,mode,stdev,variance,skewness,kurtosis, etc.) - Quantiles and histograms (
percentile,quartiles,iqr) - Data transforms (
z_scores,normalized,cumulative_sum,moving_average,diff,pct_change,sorted,clip,apply) - Prediction engine (
predict_next,predict_detail,linear,quadratic,holt,exponential,drift,newton,lagrange,seasonal,ensemble) - Regression/Correlation analysis (
correlation,covariance,regress_on) - ASCII visualizations (
histogram,sparkline,plot_ascii) - Utility exports (
to_list,to_dict)
Installation
pip install dive-for-data
Quickstart
from dive import Dive
# Create dataset
sales = Dive([100, 150, 120, 200, 180])
print(sales.mean()) # 150.0
print(sales.summary())
# Add new value
sales += 220
print(sales[-1]) # 220.0
# Predict next value (ensemble model)
print(sales.predict_next())
# Use reference series for regression mode (len(reference) == len(self) + steps)
# This learns the relationship F(temps) -> sales
temps = Dive([20, 25, 22, 30, 28, 35])
print(sales.predict_next(reference=temps, TA=1))
# Detailed prediction report
report = sales.predict_detail(steps=3, reference=temps, TA=1)
print(report["ensemble"])
API overview
Data management
Dive(data=None)add,append,remove,pop,clear,copy,dataproperty- supports Python protocols:
len, indexing, iteration,in, equality
Stats
mean,median,mode,geo_mean,harmonic_meanstdev,variance,range,min,max,sumpercentile,quartiles,iqr.
Prediction
predict_next(steps=1, method='ensemble', reference=None, corr_threshold=0.1, TA=0)predict_detail(...)
Cross-dataset
correlation(other)covariance(other)regress_on(other)
Visualization
summary()/describe()histogram(bins=10, width=40)sparkline()plot_ascii(width=60, height=15)
License
This project is licensed under the GNU General Public License v3 (GPLv3).
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
dive_for_data-0.1.2.tar.gz
(32.7 kB
view details)
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 dive_for_data-0.1.2.tar.gz.
File metadata
- Download URL: dive_for_data-0.1.2.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf24c88a011bb0e97b55655f5893b9f7eb682b9ada68335be9c6a09d599015b2
|
|
| MD5 |
dc4930d0f477600b08a131f34a26c0ca
|
|
| BLAKE2b-256 |
cbc0231de842987fb87e64b093849bfb6db9b79594b6672fe0a2ca573796b52a
|
File details
Details for the file dive_for_data-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dive_for_data-0.1.2-py3-none-any.whl
- Upload date:
- Size: 33.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d426c00918806f20236355bb6be3cd4a1452ebd73c050f5fcd8847fd9a6e648
|
|
| MD5 |
dc9a03237f274671c5abb79e377b310f
|
|
| BLAKE2b-256 |
a4cdf648e3037a132d8b912b1c4e8366e0025c784923f01de7a3cc3c636aaaf6
|