https://blog.csdn.net/jsibdhdbjsninsjs/article/details/104135123python一个数组中有重复值时的Index函数返回值是第一个重复值的index没有特别快速的,返回重复值index的方法,如果是两个列表之间的对应索引,可以考虑用稀疏矩阵