python数据处理——pandas.read_csv()指定行索引和列索引

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_37876745/article/details/85007697

一个比较简单的办法就是这样的

df=pd.read_csv('file.csv',header=0,index_col=0)

猜你喜欢

转载自blog.csdn.net/m0_37876745/article/details/85007697