diff --git a/asv_bench/benchmarks/eval.py b/asv_bench/benchmarks/eval.py index 837478efbad64b..68df38cd507421 100644 --- a/asv_bench/benchmarks/eval.py +++ b/asv_bench/benchmarks/eval.py @@ -45,7 +45,7 @@ def setup(self): index = pd.date_range('20010101', periods=N, freq='T') s = pd.Series(index) self.ts = s.iloc[halfway] - self.df = pd.DataFrame({'a': np.random.randn(N), 'dates': s}, + self.df = pd.DataFrame({'a': np.random.randn(N), 'dates': index}, index=index) data = np.random.randn(N) self.min_val = data.min()