numpy—np.lib.stride_tricks.as_strided

NoSuchKey