要的结果: 完整代码: import pandas as pd data = pd.read_csv('test100.csv') postringList = data.keys() # x是特征值 print(postringList)