scipy.sparse.csr_matrix.

scipy.sparse.csr_matrix.has_sorted_indices#

property csr_matrix.has_sorted_indices#

Whether the indices are sorted

Returns
  • True: if the indices of the array/matrix are in sorted order

  • False: otherwise