I've got a numpy array of x time-steps, t, of 17 variables. My goal is to rebuild the array by having every index include the 17 variables for t, t+1, t+2 and t+3. Thereby, increasing the number of variables from 17 to 68 for every index (4*17 variables). As I'll do this computation over a large dataset, I was wondering what the most efficient method for this would be.
Thanks!