import pandas as pd #写入 list = [[1, 2, 3], [4, 5, 6], [7, 9, 9]] name = ['one', 'two', 'three'] test = pd.DataFrame(columns=name, data=list) # 数据有三列,列名分别为one,two,three test.to_csv('test.csv') #读 data = pd.read_csv('test.csv') data = data.loc[:,:].values.tolist() for i in range(len(data)): print(data[i][1:])