@@ -202,7 +202,7 @@ def test_interp_leading_nans(self, check_scipy):
202
202
result = df .interpolate (method = "polynomial" , order = 1 )
203
203
tm .assert_frame_equal (result , expected )
204
204
205
- @pytest .mark .parametrize (' axis' , [0 , 1 ])
205
+ @pytest .mark .parametrize (" axis" , [0 , 1 ])
206
206
def test_interp_raise_on_only_mixed (self , axis ):
207
207
df = DataFrame (
208
208
{
@@ -214,7 +214,7 @@ def test_interp_raise_on_only_mixed(self, axis):
214
214
}
215
215
)
216
216
with pytest .raises (TypeError ):
217
- df .astype (' object' ).interpolate (axis = axis )
217
+ df .astype (" object" ).interpolate (axis = axis )
218
218
219
219
def test_interp_raise_on_all_object_dtype (self ):
220
220
# GH 22985
@@ -286,7 +286,6 @@ def test_interp_time_inplace_axis(self, axis):
286
286
expected .interpolate (axis = 0 , method = "time" , inplace = True )
287
287
tm .assert_frame_equal (result , expected )
288
288
289
-
290
289
@pytest .mark .parametrize ("axis" , [0 , 1 ])
291
290
def test_interp_ffill (self , axis ):
292
291
# GH 33956
@@ -325,6 +324,6 @@ def test_interp_pad(self, axis):
325
324
"C" : [3.0 , 6.0 , 9.0 , np .nan , np .nan , 30.0 ],
326
325
}
327
326
)
328
- expected = df .fillna (method = ' pad' , axis = axis )
327
+ expected = df .fillna (method = " pad" , axis = axis )
329
328
result = df .interpolate (method = "pad" , axis = axis )
330
329
tm .assert_frame_equal (result , expected )
0 commit comments