COO.tocsc

COO.tocsc()[source]

Converts this array to a scipy.sparse.csc_matrix.

Returns:

The result of the conversion.

Return type:

scipy.sparse.csc_matrix

Raises:
  • ValueError – If the array is not two-dimensional.

  • ValueError – If the array doesn’t have zero fill-values.