📅  最后修改于: 2022-03-11 14:45:42.139000             🧑  作者: Mango
ser1 = pd.Series([10, 9, 6, 5, 3, 1, 12, 8, 13])
ser2 = pd.Series([1, 3, 10, 13])
pos = []
for i in range(len(ser2)):
for j in range(len(ser1)):
if ser2[i] == ser1[j]:
pos.append(j)