SciPy

scipy.sparse.csc_matrix.get_shape

csc_matrix.get_shape()[source]

Get shape of a matrix.