pandas 选择某几列

来源:互联网 发布:linux文件分别打包命令 编辑:程序博客网 时间:2024/06/05 03:53


col_n = ['名称','收盘价','日期']

a = pd.DataFrame(df,columns = col_n)