Skip to content

Instantly share code, notes, and snippets.

@jasonwirth
Created December 5, 2013 20:31
Show Gist options
  • Save jasonwirth/7813335 to your computer and use it in GitHub Desktop.
Save jasonwirth/7813335 to your computer and use it in GitHub Desktop.
window = np.tile(np.arange(20), (5, 1))
[window.diagonal(x) for x in range(16)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment