Skip to content

DOC: wrong example in comparison with spreadsheets #43361

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
solopython opened this issue Sep 2, 2021 · 2 comments · Fixed by #43377
Closed
1 task done

DOC: wrong example in comparison with spreadsheets #43361

solopython opened this issue Sep 2, 2021 · 2 comments · Fixed by #43377

Comments

@solopython
Copy link

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

Location of the documentation

https://pandas.pydata.org/docs/getting_started/comparison/comparison_with_spreadsheets.html

Documentation problem

In [38]: firstlast["Last_Name"] = firstlast["String"].str.rsplit(" ", expand=True)[0]

Suggested fix for documentation

In [38]: firstlast["Last_Name"] = firstlast["String"].str.rsplit(" ", expand=True)[1]

@solopython solopython added Docs Needs Triage Issue that has not been reviewed by a pandas team member labels Sep 2, 2021
@mzeitlin11
Copy link
Member

Thanks for noting this @solopython! Would you be interested in putting up a pr to fix this?

@mzeitlin11 mzeitlin11 added good first issue and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Sep 2, 2021
@mzeitlin11 mzeitlin11 added this to the Contributions Welcome milestone Sep 2, 2021
@MarcoGorelli MarcoGorelli changed the title DOC: DOC: wrong example in comparison with spreadsheets Sep 2, 2021
@Digres45
Copy link
Contributor

Digres45 commented Sep 3, 2021

take

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

Successfully merging a pull request may close this issue.

3 participants