DataFrame 将某列数据转为数组的方法 如下所示:playerIds=salaries_2016['playerID'].tolist()data['列名'].tolist()以上这篇DataFrame将某列数据 将某列数据转为数组