SciPy

scipy.sparse.csc_matrix.shape

csc_matrix.shape