for i in range(len(data_array)): if label[i]==0: print(data_array[i][0])for i in range(len(data_array)): if dbs.labels_[i]==1: print(data_array[i][0])