Skip to main content

No project description provided

Project description

zw_fast_quantile_py

CI

zw-fast-quantile python binding

Installation

pip install zw_fast_quantile_py

Usage

import zw_fast_quantile_py

summary = zw_fast_quantile_py.IntQuantileSummary(0.01)
summary.update(1,2,3,4,5,6,7,8,9,10)
summary.query(0.0)

Benchmark

We calculate the median of [1, 1000], the zw_fast_quantile_py is slightly slower than statistics.quantiles due to the serilization cost between python and extension.

zw_fast_quantile_py

502
4.4792000000000096e-05

statistics.quantiles

499.5
3.883300000000027e-05

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zw_fast_quantile_py-0.2.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zw_fast_quantile_py-0.2.0-cp39-cp39-macosx_11_0_arm64.whl (172.8 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file zw_fast_quantile_py-0.2.0.tar.gz.

File metadata

  • Download URL: zw_fast_quantile_py-0.2.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.12.5

File hashes

Hashes for zw_fast_quantile_py-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7e84344f717083e41f6e5f4fe88dd0e200f652915c6587d438ea722b52e3f607
MD5 3e78338be24377cb12c330084caf3e29
BLAKE2b-256 011ca0a7f653c36aa17ce388a215cf6b4fd0eaae896b07faf44d3e3d0916e235

See more details on using hashes here.

File details

Details for the file zw_fast_quantile_py-0.2.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zw_fast_quantile_py-0.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e6075e506cb17cf539ea4104a345b8aa5b2391936343b1fb94e43c03ed96d085
MD5 6227883f3870e42e5d410a60c417abe9
BLAKE2b-256 b25a3e0cb5ff75164e40c2f99334bb22a2bbfc85622ce8c634e680d41f420e34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page