scipy.sparse.csc_array.has_canonical_format — SciPy v1.15.3 Manual (original) (raw)

scipy.sparse.csc_array.

property csc_array.has_canonical_format#

Whether the array/matrix has sorted indices and no duplicates

Returns

has_canonical_format implies has_sorted_indices, so if the latter flag is False, so will the former be; if the former is found True, the latter flag is also set.