Rolling window for 1D arrays in Numpy? Rolling window for 1D arrays in Numpy? python-3.x python-3.x