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

Method _meta

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

Source from the content-addressed store, hash-verified

35
36 @functools.cached_property
37 def _meta(self):
38 meta = self.frame._meta
39 if not is_series_like(self.frame._meta):
40 meta = meta.to_series()
41 return make_meta(meta_nonempty(meta).quantile(self.operand("q")))
42
43 def _divisions(self):
44 if is_series_like(self._meta):

Callers

nothing calls this directly

Calls 5

is_series_likeFunction · 0.90
make_metaFunction · 0.90
operandMethod · 0.80
to_seriesMethod · 0.45
quantileMethod · 0.45

Tested by

no test coverage detected