We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6c0f19 commit 1b00189Copy full SHA for 1b00189
asv_bench/benchmarks/index_concat.py
@@ -0,0 +1,20 @@
1
+from .pandas_vb_common import *
2
+
3
4
+class Int64Indexing(object):
5
+ goal_time = 0.2
6
7
+ def setup(self):
8
+ idx = Index(range(10))
9
+ self.ridx = [idx] * 10
10
+ self.iidx = [idx.astye(int)] * 10
11
+ self.oidx = [idx.astype(str)] * 10
12
13
+ def time_concat_range(self):
14
+ self.ridx[0].append(self.ridx[1:])
15
16
+ def time_concat_int(self):
17
+ self.iidx[0].append(self.iidx[1:])
18
19
+ def time_concat_obj(self):
20
+ self.oidx[0].append(self.oidx[1:])
0 commit comments