Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions asv_bench/benchmarks/attrs_caching.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import numpy as np
from pandas import DataFrame

try:
from pandas.util import cache_readonly
except ImportError:
from pandas.util.decorators import cache_readonly

from .pandas_vb_common import setup # noqa


class DataFrameAttributes(object):

goal_time = 0.2

def setup(self):
np.random.seed(1234)
self.df = DataFrame(np.random.randn(10, 6))
self.cur_index = self.df.index

Expand Down
Loading