File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -557,6 +557,8 @@ def size(self):
557
557
if not len (self .ax ) and isinstance (self ._selected_obj , ABCDataFrame ):
558
558
result = pd .Series ([], index = result .index , dtype = 'int64' )
559
559
return result
560
+
561
+
560
562
Resampler ._deprecated_valids += dir (Resampler )
561
563
562
564
# downsample methods
Original file line number Diff line number Diff line change @@ -803,15 +803,14 @@ def test_resample_empty_dataframe(self):
803
803
# GH14962
804
804
expected = Series ([])
805
805
assert_equal = assert_series_equal
806
-
806
+
807
807
expected .index = f .index ._shallow_copy (freq = freq )
808
808
assert_index_equal (result .index , expected .index )
809
809
assert result .index .freq == expected .index .freq
810
810
assert_frame_equal (result , expected , check_dtype = False )
811
811
812
812
# test size for GH13212 (currently stays as df)
813
813
814
-
815
814
def test_resample_empty_dtypes (self ):
816
815
817
816
# Empty series were sometimes causing a segfault (for the functions
You can’t perform that action at this time.
0 commit comments