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

Method columns

dask/dataframe/dask_expr/_expr.py:2190–2197  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2188
2189 @property
2190 def columns(self):
2191 cols = self.operand("columns")
2192 if isinstance(cols, list):
2193 return cols
2194 elif isinstance(cols, pd.Index):
2195 return list(cols)
2196 else:
2197 return [cols]
2198
2199 @functools.cached_property
2200 def _meta(self):

Callers

nothing calls this directly

Calls 1

operandMethod · 0.80

Tested by

no test coverage detected