Skip to main content
`Ctrl`+`K`
scipy.sparse.dia_matrix.

# tocsc

dia_matrix.tocsc(copy=False)

  Convert this array/matrix to Compressed Sparse Column format.

  Parameters:
    copy bool, optional

      With `copy=False`, the data/indices may be shared between this array/matrix and the resultant csc_array/matrix.

  Returns:
    csc array/matrix

      The converted array/matrix in CSC format.