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

Method q

dask/dataframe/dask_expr/_quantile.py:21–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19
20 @functools.cached_property
21 def q(self):
22 q = np.array(self.operand("q"))
23 if q.ndim > 0:
24 assert len(q) > 0, f"must provide non-empty q={q}"
25 q.sort(kind="mergesort")
26 return q
27 return np.asarray([self.operand("q")])
28
29 @functools.cached_property
30 def method(self):

Callers

nothing calls this directly

Calls 1

operandMethod · 0.80

Tested by

no test coverage detected