二步骤将dataframe转换为list对象 1,将df对象转换为array对象 array = np.array(df) 2,将array转换为list list = array.tolist() 3,打印查看