scipy.sparse.dok_matrix.todia

dok_matrix.todia()

This Page