Python Pandas之loc、iloc

df.loc 通过标签索引获取数据

 df.iloc 通过位置索引获取数据

猜你喜欢

转载自blog.csdn.net/Ghjkku/article/details/131386867