Skip to content

Commit f594648

Browse files
committed
CLN: ASV Gil benchmark
1 parent 695e893 commit f594648

File tree

4 files changed

+144
-304
lines changed

4 files changed

+144
-304
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)