Data can be unbinned or binned. If unbinned, the data is stored in a Data object while binned data, or histogram-like data, is stored in a BinnedData object.

The binned data is built closely to the histograms in the boost-histogram and especially Hist libraries and has to and from methods to seamlessly go back and forth between the libraries. Furthermore, BinnedData implements the Unified Histogram Interface, UHI and zfit often expects only an object that implements the UHI., *[, obs, weights, ...])

Create data, a thin wrapper around an array-like structure that supports weights and limits.*, holder[, use_hash, ...])

Create a binned data object from a BinnedHolder., start, stop, ...), *, name), *, ...[, ...])

Create a SamplerData object., *, ...)

The BinnedSampler is a binned data object that can be resampled, i.e. modified in-place.