TimeSeriesDataFrame.split_by_time¶
- TimeSeriesDataFrame.split_by_time(cutoff_time: Timestamp) Tuple[TimeSeriesDataFrame, TimeSeriesDataFrame][source]¶
- Split dataframe to two different - TimeSeriesDataFrames before and after a certain- cutoff_time.- Parameters:
- cutoff_time (pd.Timestamp) – The time to split the current data frame into two data frames. 
- Returns:
- data_before (TimeSeriesDataFrame) – Data frame containing time series before the - cutoff_time(exclude- cutoff_time).
- data_after (TimeSeriesDataFrame) – Data frame containing time series after the - cutoff_time(include- cutoff_time).