Skip to content

Commit 55da335

Browse files
committed
fix some benchmarks
1 parent 7dba23a commit 55da335

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

asv_bench/benchmarks/reindex.py

-4
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ def setup(self):
167167
col_array2 = col_array.copy()
168168
col_array2[:, :10000] = np.nan
169169
self.col_array_list = list(col_array)
170-
self.col_array_list2 = list(col_array2)
171170

172171
def time_lib_fast_zip(self):
173172
lib.fast_zip(self.col_array_list)
174-
175-
def time_lib_fast_zip_fillna(self):
176-
lib.fast_zip_fillna(self.col_array_list2)

asv_bench/benchmarks/reshape.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ def setup(self):
104104
self.letters = list('ABCD')
105105
yrvars = [l + str(num)
106106
for l, num in product(self.letters, range(1, nyrs + 1))]
107-
107+
columns = [str(i) for i in range(nidvars)] + yrvars
108108
self.df = DataFrame(np.random.randn(N, nidvars + len(yrvars)),
109-
columns=list(range(nidvars)) + yrvars)
109+
columns=columns)
110110
self.df['id'] = self.df.index
111111

112112
def time_wide_to_long_big(self):

0 commit comments

Comments
 (0)