Skip to content

DOC: Standard function usage in 'pandas.DataFrame.map' method #54648

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
DarthKitten2130 opened this issue Aug 20, 2023 · 0 comments
Closed
1 task done

DOC: Standard function usage in 'pandas.DataFrame.map' method #54648

DarthKitten2130 opened this issue Aug 20, 2023 · 0 comments
Labels
Docs Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@DarthKitten2130
Copy link
Contributor

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/dev/reference/api/pandas.DataFrame.map.html

Documentation problem

In the documentation for the 'map' method, there is no example of using the method with a standard function, only examples using lambda functions. These examples are available on other tutorial websites, but not in the primary documentation.

Suggested fix for documentation

I have created a PR for this issue which shows an example of a basic function and how it can be implemented with the DataFrame already outlined in the documentation.

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

No branches or pull requests

1 participant