TimeFrame.pad#
- TimeFrame.pad(start=None, end=None)[source]#
Pad the time series with missing datetime rows, filling in NULLs for missing values.
- Parameters:
start (
datetime|None) – The starting datetime value to pad time values from (inclusive). If not on the periodicity, the time step containing it is used. If not provided then the beginning of the dataframe will be used.end (
datetime|None) – The final datetime value to pad time values to (inclusive). If not on the periodicity, the time step containing it is used. If not provided then the end of the dataframe will be used.
- Return type:
- Returns:
Padded TimeFrame
- Raises:
TypeError – If
startorendis not a datetime, or its time zone doesn’t match the time column.