High-performance numerical computing on ragged and nested data
License FAQ · Documentation · Benchmarks · Contributing
Grumpy is a Python library (Rust core) for ragged, nested, and nullable arrays — layout-first infrastructure for structural ML and general scientific computing. Mutable typed leaves, Zarr I/O, streaming batches, and optional @gr.compile fusion.
pip install grumpyimport grumpy as gr
x = gr.array([[1, 2, 3], [4, 5]], dtype=gr.int32)
print(x.mean(dim=1).to_list()) # [2.0, 4.5]Business Source License 1.1 — see LICENSE and License FAQ. Copyright © Imaginary Biolabs GmbH.