Skip to content

Commit 2b29b7a

Browse files
committed
fix some benchmarks
2 parents fe494b0 + e7c9136 commit 2b29b7a

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ script:
135135
- ci/script_single.sh
136136
- ci/script_multi.sh
137137
- ci/lint.sh
138-
- travis_wait 50 ci/asv.sh
138+
- ci/asv.sh
139139
- echo "checking imports"
140140
- source activate pandas && python ci/check_imports.py
141141
- echo "script done"

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)