We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
numfocus
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b6c0f19 commit b941cceCopy full SHA for b941cce
asv_bench/benchmarks/index_concat.py
asv_bench/benchmarks/index_object.py
@@ -199,3 +199,22 @@ def time_datetime_level_values_full(self):
199
200
def time_datetime_level_values_sliced(self):
201
self.mi[:10].values
202
+
203
204
+class IndexOps(object):
205
+ goal_time = 0.2
206
207
+ def setup(self):
208
+ N = 1000
209
+ self.ridx = [RangeIndex(i * 100, (i + 1) * 100) for i in range(N)]
210
+ self.iidx = [idx.astype(int) for idx in self.ridx]
211
+ self.oidx = [idx.astype(str) for idx in self.iidx]
212
213
+ def time_concat_range(self):
214
+ self.ridx[0].append(self.ridx[1:])
215
216
+ def time_concat_int(self):
217
+ self.iidx[0].append(self.iidx[1:])
218
219
+ def time_concat_obj(self):
220
+ self.oidx[0].append(self.oidx[1:])
0 commit comments