title: Split Time Series pySpark data frame into test & train without using random split
body: <p>I have a spark Time Series data frame. I would like to split it into 80-20 (train-test). As this is a <strong>time series data frame</strong>, I don't want to do a random split. How do I do this in order to pass the first data frame into train and the second to test? </p>