We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e544362 commit 8b80562Copy full SHA for 8b80562
asv_bench/benchmarks/inference.py
@@ -148,12 +148,12 @@ class to_numeric(object):
148
N = 500000
149
150
data_dict = {
151
- 'string-int': (['1'] * (N / 2)) + ([2] * (N / 2)),
152
- 'string-nint': (['-1'] * (N / 2)) + ([2] * (N / 2)),
+ 'string-int': (['1'] * (N // 2)) + ([2] * (N // 2)),
+ 'string-nint': (['-1'] * (N // 2)) + ([2] * (N // 2)),
153
'datetime64': np.repeat(np.array(['1970-01-01', '1970-01-02'],
154
dtype='datetime64[D]'), N),
155
- 'string-float': (['1.1'] * (N / 2)) + ([2] * (N / 2)),
156
- 'int-list': ([1] * (N / 2)) + ([2] * (N / 2)),
+ 'string-float': (['1.1'] * (N // 2)) + ([2] * (N // 2)),
+ 'int-list': ([1] * (N // 2)) + ([2] * (N // 2)),
157
'int32': np.repeat(np.int32(1), N)
158
}
159
0 commit comments