SciPy

scipy.sparse.csc_matrix.shape

csc_matrix.shape

Get shape of a matrix.