Skip to content

DOC: Typo of "DataFrame.iat()" in "10 minutes to pandas" #49057

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

Closed
1 task done
gau-nernst opened this issue Oct 12, 2022 · 1 comment · Fixed by #49122
Closed
1 task done

DOC: Typo of "DataFrame.iat()" in "10 minutes to pandas" #49057

gau-nernst opened this issue Oct 12, 2022 · 1 comment · Fixed by #49122
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@gau-nernst
Copy link

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/user_guide/10min.html#selection-by-position

Documentation problem

Under Select by position section, it should be DataFrame.iat() instead of DataFrame.at()

See more in Selection by Position using DataFrame.iloc() or DataFrame.iat().

Later in this section, .iat() is used, not .at(). So it is probably a typo from my understanding.

Suggested fix for documentation

Change DataFrame.at() to DataFrame.iat() under Select by position section.

@gau-nernst gau-nernst added Docs Needs Triage Issue that has not been reviewed by a pandas team member labels Oct 12, 2022
@angularOcean
Copy link
Contributor

Hi gua-nernst, I agree this likely seems to be a typo since .iat() selects based upon integer position and .at() selects based upon label and this is the select by position section. I am attempting a quick fix and pull request on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants