Skip to content

Commit 1037fc0

Browse files
committed
TST: convert to array first before vbench
1 parent 7f32698 commit 1037fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vb_suite/frame_methods.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
setup = common_setup + """
4343
df = DataFrame(randn(1000, 1000))
44-
idx = range(400, 700)
44+
idx = np.arange(400, 700)
4545
"""
4646

4747
frame_reindex_axis0 = Benchmark('df.reindex(idx)', setup)

0 commit comments

Comments
 (0)