Skip to content

对于【1.1.3 iloc】中的使用方法翻译存疑 #11

@iamyifan

Description

@iamyifan

pd.Series.loc:

"Access a group of rows and columns by label(s) or a boolean array."

pd.Series.iloc:

"Purely integer-location based indexing for selection by position."

“无视索引,只按照位置定位。” → “以(整数形式的)索引实现位置定位。”
iloc中的i可以指integer,也可以指index。总之,在使用方法上通过interger-based index实现定位。
而原文中的“无视索引”容易引起歧义。(或许是想对比label-based index?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions