import numpy as npimport pandas as pd## x1=[1,2,3,4]# x2=[4,5,6,7]# x3=[7,8,9,10]# df=pd.DataFrame(# { 'x1':x1,# 'x2':x2,# 'x3':x3# }# )# print(df)# print(df['x1'])# print(type(df['x1']))#<class 'pandas.core.series.Series'>#不含列名# print(df['x1'].valu…