@@ -3916,16 +3916,20 @@ def groupby(self, by=None, axis=0, level=None, as_index=True, sort=True,
3916
3916
3917
3917
def asfreq (self , freq , method = None , how = None , normalize = False ):
3918
3918
"""
3919
- Convert all TimeSeries inside to specified frequency using DateOffset
3920
- objects. Optionally provide fill method to pad/backfill missing values.
3919
+ Convert TimeSeries to specified frequency.
3920
+
3921
+ Optionally provide filling method to pad/backfill missing values.
3921
3922
3922
3923
Parameters
3923
3924
----------
3924
3925
freq : DateOffset object, or string
3925
- method : {'backfill', 'bfill', 'pad', 'ffill', None}
3926
- Method to use for filling holes in reindexed Series
3927
- pad / ffill: propagate last valid observation forward to next valid
3928
- backfill / bfill: use NEXT valid observation to fill method
3926
+ method : {'backfill'/'bfill', 'pad'/'ffill'}, default None
3927
+ Method to use for filling holes in reindexed Series (note this
3928
+ does not fill NaNs that already were present):
3929
+
3930
+ * 'pad' / 'ffill': propagate last valid observation forward to next
3931
+ valid
3932
+ * 'backfill' / 'bfill': use NEXT valid observation to fill
3929
3933
how : {'start', 'end'}, default end
3930
3934
For PeriodIndex only, see PeriodIndex.asfreq
3931
3935
normalize : bool, default False
0 commit comments