2.0.0
numpy has been removed as a dependency.
New Features
- Add support for Python 2.
- Add support for Python 3.10.
- The implementations of stores and mappings are now exposed via the top level module
ddsketch. - Add typing.
- The package version is now exposed through
ddsketch.__version__.
Upgrade Notes
-
DDSketchattributesmapping,store,negative_store,zero_count,relative_accuracy,minandmaxhave been removed. -
DDSketch.copymethod has been removed. -
DDSketch.countattribute has been made read-only. -
DDSketch.mergeablemethod has been removed. -
The custom exceptions
IllegalArgumentExceptionandUnequalSketchParametersExceptionas well as theddsketch.exceptionsmodule have been removed.IllegalArgumentExceptionandUnequalSketchParametersExceptionare replaced withValueError. -
BaseDDSketch.get_quantile_valuewill now returnNoneinstead ofnumpy.NaNif the specified quantile is empty.