Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iamyifan opened this issue Dec 3, 2021 · 1 comment
Open

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

iamyifan opened this issue Dec 3, 2021 · 1 comment

Comments

@iamyifan
Copy link

iamyifan commented Dec 3, 2021

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?)

@hangsz
Copy link
Owner

hangsz commented Apr 12, 2022

位置索引是隐含的,无视索引指的就是无视当前显示的series索引,不管其是字符串还是数值。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants