mlab.stride_windows

... is deprecated. Use np.lib.stride_tricks.sliding_window_view instead (or np.lib.stride_tricks.as_strided on numpy<1.20).