We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0743a1 commit 6da85b3Copy full SHA for 6da85b3
asv_bench/benchmarks/sparse.py
@@ -1,4 +1,4 @@
1
-from itertools import repeat
+import itertools
2
3
from .pandas_vb_common import *
4
import scipy.sparse
@@ -33,7 +33,7 @@ def time_sparse_from_scipy(self):
33
SparseDataFrame(scipy.sparse.rand(1000, 1000, 0.005))
34
35
def time_sparse_from_dict(self):
36
- SparseDataFrame(dict(zip(range(1000), repeat([0]))))
+ SparseDataFrame(dict(zip(range(1000), itertools.repeat([0]))))
37
38
39
class sparse_series_from_coo(object):
0 commit comments