code: def _percentiles_from_tdigest(qs, digests):
      from crick import TDigest
  
      t = TDigest()
      t.merge(*digests)
  
      return np.array(t.quantile(qs / 100.0))
  
file_path: dask/dask/array/percentile.py
imports: from __future__ import annotations
  import warnings
  from collections.abc import Iterator
  from functools import wraps
  from numbers import Number
  import numpy
  from tlz import merge
  from dask.array.core import Array
  from dask.array.numpy_compat import _numpy_122
  from dask.array.numpy_compat import percentile
  from dask.base import tokenize
  from dask.highlevelgraph import HighLevelGraph
label_desc: Use image node_id 3 for calling a global function with example usage: _percentiles_from_tdigest(qs, digests) and returns: np