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

DOC: add to str.endswith / startswith that tuples are accepted for multiple value testing #38281

Closed
erfannariman opened this issue Dec 4, 2020 · 3 comments
Assignees
Labels

Comments

@erfannariman
Copy link
Member

Location of the documentation

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.str.endswith.html
https://pandas.pydata.org/docs/reference/api/pandas.Series.str.startswith.html

Documentation problem

Right now there is no indication that these methods accept a tuple for testing on multiple character sequences.

Suggested fix for documentation

Add in the documentation that tuples are accepted as values.

@erfannariman erfannariman added Docs Needs Triage Issue that has not been reviewed by a pandas team member labels Dec 4, 2020
@erfannariman
Copy link
Member Author

take

@rhshadrach
Copy link
Member

+1. Also should update type hints for the argument.

@rhshadrach rhshadrach removed the Needs Triage Issue that has not been reviewed by a pandas team member label Dec 4, 2020
@mroeschke
Copy link
Member

Closed by #48587

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

No branches or pull requests

3 participants