Split a time-ordered dataset β€” Python practice β€” Live Code Tutor