veloxx 0.4.0

Veloxx: High-performance, lightweight Rust library for in-memory data processing and analytics. Features DataFrames, Series, advanced I/O (CSV, JSON, Parquet), machine learning (linear regression, K-means, logistic regression), time-series analysis, data visualization, parallel processing, and multi-platform bindings (Python, WebAssembly). Designed for minimal dependencies, optimal memory usage, and blazing speed - ideal for data science, analytics, and performance-critical applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub struct GlobalAggregate;

impl GlobalAggregate {
    pub fn sum_f64(data: &[f64]) -> f64 {
        data.iter().copied().sum()
    }
    pub fn mean_f64(data: &[f64]) -> Option<f64> {
        if data.is_empty() {
            None
        } else {
            Some(data.iter().copied().sum::<f64>() / data.len() as f64)
        }
    }
}