如何将以下 CSV 文件读入 Pandas DataFrame
?
Date,"price","factor_1","factor_2"
2012-06-11,1600.20,1.255,1.548
2012-06-12,1610.02,1.258,1.554
2012-06-13,1618.07,1.249,1.552
2012-06-14,1624.40,1.253,1.556
2012-06-15,1626.15,1.258,1.552
2012-06-16,1626.15,1.263,1.558
2012-06-17,1626.15,1.264,1.572
原文由 mazlor 发布,翻译遵循 CC BY-SA 4.0 许可协议
pandas.read_csv
救援:这会输出一个熊猫
DataFrame
: