Skip to content

Commit 5d9151c

Browse files
mroeschkejorisvandenbossche
authored andcommitted
CLN: ASV Gil benchmark (#18675)
* Fix lambda lint & some groupby benches
1 parent ae74c2b commit 5d9151c

File tree

5 files changed

+185
-343
lines changed

5 files changed

+185
-343
lines changed

asv_bench/benchmarks/attrs_caching.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import numpy as np
22
from pandas import DataFrame
3-
43
try:
54
from pandas.util import cache_readonly
65
except ImportError:
76
from pandas.util.decorators import cache_readonly
87

8+
from .pandas_vb_common import setup # noqa
9+
910

1011
class DataFrameAttributes(object):
1112

1213
goal_time = 0.2
1314

1415
def setup(self):
15-
np.random.seed(1234)
1616
self.df = DataFrame(np.random.randn(10, 6))
1717
self.cur_index = self.df.index
1818

0 commit comments

Comments
 (0)