scipy.sparse.csr_matrix. scipy.sparse.csr_matrix.has_sorted_indices# property csr_matrix.has_sorted_indices# 索引是否已排序 返回值 True:如果陣列/矩陣的索引已排序 False:否則