limit = None in ffill was causing failure
This commit is contained in:
parent
19523519ee
commit
2a8f5b4041
@ -145,7 +145,7 @@ class TimeSeries(TimeSeriesCore):
|
|||||||
res_string: str = "First date: {}\nLast date: {}\nNumber of rows: {}"
|
res_string: str = "First date: {}\nLast date: {}\nNumber of rows: {}"
|
||||||
return res_string.format(self.start_date, self.end_date, total_dates)
|
return res_string.format(self.start_date, self.end_date, total_dates)
|
||||||
|
|
||||||
def ffill(self, inplace: bool = False, limit: int = None, skip_weekends: bool = False) -> TimeSeries | None:
|
def ffill(self, inplace: bool = False, limit: int = 1000, skip_weekends: bool = False) -> TimeSeries | None:
|
||||||
"""Forward fill missing dates in the time series
|
"""Forward fill missing dates in the time series
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
@ -188,7 +188,7 @@ class TimeSeries(TimeSeriesCore):
|
|||||||
|
|
||||||
return self.__class__(new_ts, frequency=self.frequency.symbol)
|
return self.__class__(new_ts, frequency=self.frequency.symbol)
|
||||||
|
|
||||||
def bfill(self, inplace: bool = False, limit: int = None, skip_weekends: bool = False) -> TimeSeries | None:
|
def bfill(self, inplace: bool = False, limit: int = 1000, skip_weekends: bool = False) -> TimeSeries | None:
|
||||||
"""Backward fill missing dates in the time series
|
"""Backward fill missing dates in the time series
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user