@@ -966,16 +966,6 @@ def demean(arr):
966966 expected = DataFrame ({'b' : range (5 )})
967967 tm .assert_frame_equal (result , expected )
968968
969- def test_resample_extra_index_point (self ):
970- # GH 9756
971- expected_i = pd .DatetimeIndex (start = '20150101' , end = '20150331' , freq = 'BM' )
972- expected = pd .DataFrame (index = expected_i , data = len (expected_i )* [0 ])
973-
974- index = pd .DatetimeIndex (start = '20150101' , end = '20150331' , freq = 'B' )
975- df = pd .DataFrame (index = index , data = len (index )* [0 ])
976- result = df .resample ('BM' , how = 'last' )
977- assert_frame_equal (result , expected )
978-
979969 def test_transform_fast (self ):
980970
981971 df = DataFrame ( { 'id' : np .arange ( 100000 ) / 3 ,
@@ -5108,10 +5098,10 @@ def test_groupby_categorical_two_columns(self):
51085098 tm .assert_frame_equal (res , exp )
51095099
51105100 def test_groupby_apply_all_none (self ):
5111- # Tests to make sure no errors if apply function returns all None
5101+ # Tests to make sure no errors if apply function returns all None
51125102 # values. Issue 9684.
51135103 test_df = DataFrame ({'groups' : [0 ,0 ,1 ,1 ], 'random_vars' : [8 ,7 ,4 ,5 ]})
5114-
5104+
51155105 def test_func (x ):
51165106 pass
51175107 result = test_df .groupby ('groups' ).apply (test_func )
0 commit comments