import pandas as pd
courses = {"语文": 80, "数学": 90, "英语": 85, "计算机": 100}
data = pd.Series(courses)
# Series转换为list
numbers = data.tolist()
print(numbers)
输出
[80, 90, 85, 100]
2022-11-06 14:01:11
import pandas as pd
courses = {"语文": 80, "数学": 90, "英语": 85, "计算机": 100}
data = pd.Series(courses)
# Series转换为list
numbers = data.tolist()
print(numbers)
输出
[80, 90, 85, 100]
下一篇:线程创建的过程