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

Method __str__

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

Source from the content-addressed store, hash-verified

3849 return lines
3850
3851 def __str__(self):
3852 exprs = sorted(self.exprs, key=M._depth)
3853 names = [expr._name.split("-")[0] for expr in exprs]
3854 if len(names) > 4:
3855 return f"{names[0]}-fused-{names[-1]}"
3856 else:
3857 return "-".join(names)
3858
3859 @functools.cached_property
3860 def _name(self):

Callers

nothing calls this directly

Calls 2

splitMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected