SciPy

scipy.sparse.csc_matrix.getmaxprint

csc_matrix.getmaxprint()[source]

Maximum number of elements to display when printed.