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
-
DDSketch
attributesmapping
,store
,negative_store
,zero_count
,relative_accuracy
,min
andmax
have been removed. -
DDSketch.copy
method has been removed. -
DDSketch.count
attribute has been made read-only. -
DDSketch.mergeable
method has been removed. -
The custom exceptions
IllegalArgumentException
andUnequalSketchParametersException
as well as theddsketch.exceptions
module have been removed.IllegalArgumentException
andUnequalSketchParametersException
are replaced withValueError
. -
BaseDDSketch.get_quantile_value
will now returnNone
instead ofnumpy.NaN
if the specified quantile is empty.