title: Addressing ranges in a Scipy sparse matrix
body: <p>I have a large matrix, currently in numpy that i would like to port over to scipy sparse matrix, because saving the text representations of the numpy (2000,2000) matrix is over 100mb.</p>
  
  <p>(1) There seem to a surfeit of sparse matrices available in scipy [for instance, <a href="http://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.lil_matrix.html" rel="nofollow">lil_matrix</a> or <a href="http://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.dok_matrix.html" rel="nofollow">dok_matrix</a>- which one would be optimal for simple incrementing, and efficient to save to a database?</p>
  
  <p>(2) 
  I'd like to be able to address ranges in the matrix like so:</p>
  
  <pre><code>&gt;&gt; import numpy as np    
  &gt;&gt; a = np.zeros((1000,1000))
  &gt;&gt; a[3:5,4:7] += 1
  </code></pre>
  
  <p>It seems that this is not possible for the sparse matrices?</p>