您可以使用内置方法 to_dict :
pd.Series([0, 1, 1, 0], index=[0, 1, 2,3]).to_dict() Out[39]: {0: 0, 1: 1, 2: 1, 3: 0}