I am completing a Udemy course on time series forecasting. i am very new to coding. When it comes to splitting the data, the course is pointing me in the direction of manually identifying where to split the data. is there a method to split this automatically e.g. test is always the last 12 months of data. currently I have this: # Set one year for testing train = df1.iloc[:115] test = df1.iloc[115:] The data set is very simple, only a time as an index and one coloumn with totals. Example of data Continue reading...