I have a list of values that I\'m using a loop to convert to a scipy.sparse.dok_matrix. I\'m aware of numpy.bincount but it doesn\'t work with sparse matrices. I\'m wonderin