We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f5524d commit 567e7bbCopy full SHA for 567e7bb
asv_bench/benchmarks/series_methods.py
@@ -41,9 +41,9 @@ def time_isin(self, dtypes):
41
class IsInFloat64(object):
42
43
def setup(self):
44
- self.small = Series(np.random.randint(1, 10, 10)).astype(dtype=np.float64)
+ self.small = Series([1, 2], dtype=np.float64)
45
self.many_different_values = np.arange(10**6, dtype=np.float64)
46
- self.few_different_values = np.zeros(10**7, dtype=np.float64)
+ self.few_different_values = np.zeros(10**7, dtype=np.float64)
47
self.only_nans_values = np.full(10**7, np.nan, dtype=np.float64)
48
49
def time_isin_many_different(self):
0 commit comments