Skip to content

Instantly share code, notes, and snippets.

View GreatRedOne99's full-sized avatar

John Donahue GreatRedOne99

  • 12:22 (UTC -05:00)
View GitHub Profile
@GreatRedOne99
GreatRedOne99 / describe.rs
Created December 5, 2025 19:09 — forked from nazq/describe.rs
Polars DataFrame describe() implementation for Rust - provides summary statistics like pandas/polars Python
//! DataFrame describe() functionality for Polars in Rust
//!
//! This module provides a `describe()` method for both DataFrame and LazyFrame,
//! similar to pandas/polars describe() in Python. It computes summary statistics
//! including count, null_count, mean, std, min, percentiles, and max.
//!
//! The implementation follows the Python polars pattern closely, avoiding
//! unnecessary data collection when working with LazyFrames.
use anyhow::Result;