Skip to content

Instantly share code, notes, and snippets.

@psinger
Created March 18, 2018 13:53
Show Gist options
  • Save psinger/9827b22d7c46e7624613941bb8c07f00 to your computer and use it in GitHub Desktop.
Save psinger/9827b22d7c46e7624613941bb8c07f00 to your computer and use it in GitHub Desktop.
huge_matrices_4.py
h5 = tb.open_file('dot.h5', 'r')
a = csr_matrix((h5.root.data[:], (h5.root.ri[:], h5.root.ci[:])), shape=(l,n))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment