pandas之loc iloc ix-CSDN博客

网站介绍:文章浏览阅读96次。首先,介绍这三种方法的概述:loc: locgets rows (or columns) with particularlabelsfrom the index. loc从索引中获取具有特定标签的行(或列)。这里的关键是:标签。标签的理解就是name名字。iloc: gets rows (or columns) at particularpositionsin the ..._with these indexers [2021-01-25] of