One - One Code All

Blog Content

pandas读取csv文件使用第一列作为索引index_col=0

Python 统计学-科学计算   2013-09-23 10:15:41

pandas读取csv文件使用第一列作为索引index_col=0


import pandas as pd

data = pd.read_csv(csv_path, index_col=0)



上一篇:linux/mac替代makefile的编译工具Ninja介绍
下一篇:几种redis数据导出导入方式

The minute you think of giving up, think of the reason why you held on so long.