SciPy
Section Navigation
API Reference
scipy.sparse
Get shape of a sparse matrix.
dok_matrix.get_shape