点击运行
import pandas as pd s = pd.Series([1,2,3,4,5],index = ['a','b','c','d','e']) #检索一个元素 print(s['a'])
运行结果 :
正在执行...