2.1单级索引
df.loc[1103] #单行索引
df.loc[[1102,2304]] #多行索引
loc按索引取出value,iloc是按行列序号取出value
555,pycharm一开电脑就崩,我这台小破机实在是有点抵不住了
https://github.com/datawhalechina/joyful-pandas/blob/master/%E7%AC%AC2%E7%AB%A0%20%E7%B4%A2%E5%BC%95.ipynb
2.1单级索引
df.loc[1103] #单行索引
df.loc[[1102,2304]] #多行索引
loc按索引取出value,iloc是按行列序号取出value
555,pycharm一开电脑就崩,我这台小破机实在是有点抵不住了
https://github.com/datawhalechina/joyful-pandas/blob/master/%E7%AC%AC2%E7%AB%A0%20%E7%B4%A2%E5%BC%95.ipynb