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

Method _lower

dask/dataframe/tseries/resample.py:155–171  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

153 return plain_column_projection(self, parent, dependents)
154
155 def _lower(self):
156 partitioned = Repartition(
157 self.frame, new_divisions=self._resample_divisions[0], force=True
158 )
159 output_divisions = self._resample_divisions[1]
160 return ResampleAggregation(
161 partitioned,
162 BlockwiseDep(output_divisions[:-1]),
163 BlockwiseDep(output_divisions[1:]),
164 BlockwiseDep(["left"] * (len(output_divisions[1:]) - 1) + [None]),
165 self.rule,
166 self.kwargs,
167 self.how,
168 self.fill_value,
169 list(self.how_args),
170 self.how_kwargs,
171 )
172
173
174class ResampleAggregation(Blockwise):

Callers

nothing calls this directly

Calls 3

RepartitionClass · 0.90
ResampleAggregationClass · 0.85
BlockwiseDepClass · 0.85

Tested by

no test coverage detected