Skip to content

Commit 19178a7

Browse files
committed
fixture
1 parent 66e24a1 commit 19178a7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pandas/tests/frame/common.py

+9
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ def simple(self):
103103
return pd.DataFrame(arr, columns=['one', 'two', 'three'],
104104
index=['a', 'b', 'c'])
105105

106+
@cache_readonly
107+
def dummy(self):
108+
df = pd.DataFrame({'A': ['foo', 'foo', 'foo', 'bar', 'bar'],
109+
'B': ['one', 'two', 'three', 'one', 'two'],
110+
'C': ['a', 'b', 'c', 'd', 'e'],
111+
'D': np.random.randn(5),
112+
'E': np.random.randn(5)})
113+
return df
114+
106115
# self.ts3 = tm.makeTimeSeries()[-5:]
107116
# self.ts4 = tm.makeTimeSeries()[1:-1]
108117

0 commit comments

Comments
 (0)