(self, sample: float)
| 23 | self.sketch = TDigest() |
| 24 | |
| 25 | def add(self, sample: float) -> None: |
| 26 | self.count = self.count + 1 |
| 27 | self.total = self.total + sample |
| 28 | self.sketch.add(sample) |
| 29 | |
| 30 | def merge(self, other: Digest) -> None: |
| 31 | self.count = self.count + other.count |
no outgoing calls