@@ -966,16 +966,6 @@ def demean(arr):
966
966
expected = DataFrame ({'b' : range (5 )})
967
967
tm .assert_frame_equal (result , expected )
968
968
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
-
979
969
def test_transform_fast (self ):
980
970
981
971
df = DataFrame ( { 'id' : np .arange ( 100000 ) / 3 ,
@@ -5108,10 +5098,10 @@ def test_groupby_categorical_two_columns(self):
5108
5098
tm .assert_frame_equal (res , exp )
5109
5099
5110
5100
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
5112
5102
# values. Issue 9684.
5113
5103
test_df = DataFrame ({'groups' : [0 ,0 ,1 ,1 ], 'random_vars' : [8 ,7 ,4 ,5 ]})
5114
-
5104
+
5115
5105
def test_func (x ):
5116
5106
pass
5117
5107
result = test_df .groupby ('groups' ).apply (test_func )
0 commit comments