MCPcopy Create free account
hub / github.com/dask/dask / __init__

Method __init__

dask/dataframe/dask_expr/diagnostics/_analyze_plugin.py:18–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 sketch: TDigest
17
18 def __init__(self) -> None:
19 from crick import TDigest
20
21 self.count = 0
22 self.total = 0.0
23 self.sketch = TDigest()
24
25 def add(self, sample: float) -> None:
26 self.count = self.count + 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected