@@ -29,16 +29,6 @@ def float_frame_with_na():
29
29
return df
30
30
31
31
32
- @pytest .fixture
33
- def float_frame2 ():
34
- """
35
- Fixture for DataFrame of floats with index of unique strings
36
-
37
- Columns are ['D', 'C', 'B', 'A']
38
- """
39
- return DataFrame (tm .getSeriesData (), columns = ['D' , 'C' , 'B' , 'A' ])
40
-
41
-
42
32
@pytest .fixture
43
33
def bool_frame_with_na ():
44
34
"""
@@ -104,21 +94,6 @@ def mixed_float_frame():
104
94
return df
105
95
106
96
107
- @pytest .fixture
108
- def mixed_float_frame2 ():
109
- """
110
- Fixture for DataFrame of different float types with index of unique strings
111
-
112
- Columns are ['A', 'B', 'C', 'D'].
113
- """
114
- df = DataFrame (tm .getSeriesData ())
115
- df .D = df .D .astype ('float32' )
116
- df .C = df .C .astype ('float32' )
117
- df .B = df .B .astype ('float16' )
118
- df .D = df .D .astype ('float64' )
119
- return df
120
-
121
-
122
97
@pytest .fixture
123
98
def mixed_int_frame ():
124
99
"""
@@ -135,19 +110,6 @@ def mixed_int_frame():
135
110
return df
136
111
137
112
138
- @pytest .fixture
139
- def mixed_type_frame ():
140
- """
141
- Fixture for DataFrame of float/int/string columns with RangeIndex
142
-
143
- Columns are ['a', 'b', 'c', 'float32', 'int32'].
144
- """
145
- return DataFrame ({'a' : 1. , 'b' : 2 , 'c' : 'foo' ,
146
- 'float32' : np .array ([1. ] * 10 , dtype = 'float32' ),
147
- 'int32' : np .array ([1 ] * 10 , dtype = 'int32' )},
148
- index = np .arange (10 ))
149
-
150
-
151
113
@pytest .fixture
152
114
def timezone_frame ():
153
115
"""
@@ -173,22 +135,6 @@ def empty_frame():
173
135
return DataFrame ({})
174
136
175
137
176
- @pytest .fixture
177
- def datetime_series ():
178
- """
179
- Fixture for Series of floats with DatetimeIndex
180
- """
181
- return tm .makeTimeSeries (nper = 30 )
182
-
183
-
184
- @pytest .fixture
185
- def datetime_series_short ():
186
- """
187
- Fixture for Series of floats with DatetimeIndex
188
- """
189
- return tm .makeTimeSeries (nper = 30 )[5 :]
190
-
191
-
192
138
@pytest .fixture
193
139
def simple_frame ():
194
140
"""
0 commit comments