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

Class Cat

dask/dataframe/dask_expr/_str_accessor.py:139–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138
139class Cat(Reduction):
140 _parameters = ["frame", "sep", "na_rep"]
141
142 @property
143 def chunk_kwargs(self):
144 return {"sep": self.sep, "na_rep": self.na_rep}
145
146 @property
147 def combine_kwargs(self):
148 return self.chunk_kwargs
149
150 @property
151 def aggregate_kwargs(self):
152 return self.chunk_kwargs
153
154 @staticmethod
155 def reduction_chunk(ser, *args, **kwargs):
156 return ser.str.cat(*args, **kwargs)
157
158 @staticmethod
159 def reduction_combine(ser, *args, **kwargs):
160 return Cat.reduction_chunk(ser, *args, **kwargs)
161
162 @staticmethod
163 def reduction_aggregate(ser, *args, **kwargs):
164 return Cat.reduction_chunk(ser, *args, **kwargs)
165
166
167class SplitMap(FunctionMap):

Callers 1

catMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected