This is documentation for an old release of SciPy (version 0.11.0). Read this page in the documentation of the latest stable release (version 1.14.1).

scipy.sparse.dok_matrix.todia

dok_matrix.todia()[source]

Previous topic

scipy.sparse.dok_matrix.todense

Next topic

scipy.sparse.dok_matrix.todok