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

Method __getattr__

dask/dataframe/dask_expr/_expr.py:153–160  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

151 return to_include
152
153 def __getattr__(self, key):
154 try:
155 return super().__getattr__(key)
156 except AttributeError:
157
158 if is_dataframe_like(self._meta) and key in self._meta.columns:
159 return self[key]
160 raise
161
162 def __getitem__(self, other):
163 if isinstance(other, Expr):

Callers

nothing calls this directly

Calls 1

is_dataframe_likeFunction · 0.85

Tested by

no test coverage detected