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

Method add_suffix

dask/dataframe/dask_expr/_collection.py:3687–3692  ·  view source on GitHub ↗
(self, suffix, axis=None)

Source from the content-addressed store, hash-verified

3685
3686 @derived_from(pd.DataFrame)
3687 def add_suffix(self, suffix, axis=None):
3688 if axis in (None, 1, "columns"):
3689 return new_collection(expr.AddSuffix(self, suffix))
3690 if axis in (0, "index"):
3691 raise NotImplementedError(f"add_suffix({axis=}) is not implemented in Dask")
3692 raise ValueError("axis must be either 0, 1, 'index', 'columns', or None")
3693
3694 def pivot_table(self, index, columns, values, aggfunc="mean"):
3695 """

Callers 3

test_io_fusion_mergeFunction · 0.95

Calls 1

new_collectionFunction · 0.90

Tested by 3

test_io_fusion_mergeFunction · 0.76