scipy.sparse.csc_matrix.
scipy.sparse.csc_matrix.has_canonical_format#
- property csc_matrix.has_canonical_format#
数组/矩阵是否具有排序的索引且没有重复项
- 返回
True:如果以上适用
False:否则
has_canonical_format 意味着 has_sorted_indices,因此如果后一个标志为 False,则前者也将为 False;如果发现前者为 True,则也会设置后一个标志。