Skip to content

Commit 24c3ef9

Browse files
CLN: create asv input without overflow to prevent potential warnings
1 parent b276196 commit 24c3ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asv_bench/benchmarks/io/csv.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def time_read_uint64_na_values(self):
287287

288288
class ReadUint8Integers(StringIORewind):
289289
def setup(self):
290-
arr = np.arange(10000).astype("uint8")
290+
arr = np.tile(np.arange(256, dtype="uint8"), 500)
291291
self.data1 = StringIO("\n".join(arr.astype(str).tolist()))
292292

293293
def time_read_uint8(self):

0 commit comments

Comments
 (0)