xhistogram
Fast, flexible, label-aware histograms for numpy and xarray
Histograms (a.k.a “binning”) are mu.ch more than just a visualization tool. They are the foundation of a wide range of scientific analyses including joint probability distributions and coordinate transformations. Xhistogram makes it easier to calculate flexible, complex histograms with multi-dimensional data. It integrates (optionally) with Dask, in order to scale up to very large datasets and with Xarray, in order to consume and produce labelled, annotated data structures. It is useful for a wide range of scientific tasks.