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,則後者標誌也會被設定。