import pandas as pd courses = {"语文": 80, "数学": 90, "英语": 85, "计算机": 100} data = pd.Series(courses) # Series转换为list numbers = data.tolist() print(numbers)
输出
[80, 90, 85, 100]