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

Method project_columns

dask/dataframe/io/demo.py:275–286  ·  view source on GitHub ↗

Return a new MakeTimeseriesPart object with a sub-column projection.

(self, columns)

Source from the content-addressed store, hash-verified

273 return self._columns
274
275 def project_columns(self, columns):
276 """Return a new MakeTimeseriesPart object with
277 a sub-column projection.
278 """
279 if columns == self.columns:
280 return self
281 return MakeDataframePart(
282 self.index_dtype,
283 self.dtypes,
284 self.kwargs,
285 columns=columns,
286 )
287
288 def __call__(self, part):
289 divisions, state_data = part

Callers

nothing calls this directly

Calls 1

MakeDataframePartClass · 0.85

Tested by

no test coverage detected