-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Series.str.rstrip() and Series.str.lstrip() have incorrect description at the top #34026
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
Labels
Comments
Hello! n00b here - I'll take this. @MarcoGorelli @Harshal96 |
Take @MarcoGorelli |
moaraccounts
pushed a commit
to moaraccounts/pandas
that referenced
this issue
May 8, 2020
mroeschke
pushed a commit
that referenced
this issue
May 16, 2020
* DOC:GH34026 * DOC:Fixing desc. for Series.str.rstrip() and Series.str.lstrip() (#34026) * DOC:Removed text strings from lstrip and rstrip. Added a new %position item to each dict. (pandas-dev34026) * DOC:Fixed strip so %position now reads leading and trailing. Built documentation locally to confirm changes (pandas-dev34026) Co-authored-by: Lesley <[email protected]>
jbrockmendel
pushed a commit
to jbrockmendel/pandas
that referenced
this issue
May 17, 2020
* DOC:GH34026 * DOC:Fixing desc. for Series.str.rstrip() and Series.str.lstrip() (pandas-dev#34026) * DOC:Removed text strings from lstrip and rstrip. Added a new %position item to each dict. (pandas-dev34026) * DOC:Fixed strip so %position now reads leading and trailing. Built documentation locally to confirm changes (pandas-dev34026) Co-authored-by: Lesley <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.str.rstrip.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.str.lstrip.html
Documentation problem
At the top of the documentation for the
rstrip()
andlstrip()
methods, it says "Remove leading and trailing characters."Suggested fix for documentation
It should say "Remove trailing characters" for
rstrip()
and "Remove leading characters" forlstrip()
.This is due to the way that the shared docs are set up between
str.lstrip()
,str.rstrip()
andstr.strip()
The text was updated successfully, but these errors were encountered: