-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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: fix docstring validation errors for pandas.Series #59592
Comments
I'll take these:
|
I'll take these:
|
Working on these:
|
I'll take these:
|
Here's a filtered list of
I went ahead and removed methods that were already claimed/addressed by open + merged PRs. |
I'll take these:
|
I will take
|
I'll take
|
I followed the instructions and encountered this issue: I added 'See Also' to the function fill_value(self) in ./pandas/core/arrays/sparse/array.py. After running the command python3 scripts/validate_docstrings.py pandas.Series.sparse.fill_value, I received the message: thang123456@MSI:/mnt/c/Users/ADMIN/Desktop/pandas/pandas$ python3 scripts/validate_docstrings.py pandas.Series.sparse.fill_value ################################################################################ Elements in For memory savings, this should be the most common value in the array. Examples
################################################################################ 1 Errors found for |
I will take:
|
I'll take these:
|
I'll take these:
|
@Tmthang1601 The
|
@hlakams
|
@Tmthang1601 Can you push up your changes in a new PR? |
@hlakams According to the instructions, you need to complete 2 to 4 methods and run the script successfully before pushing to a new PR, but I'm having trouble. |
@Tmthang1601 I'm not sure what the issue is, but try replacing lines 620:639 from #59592 (comment) with the following docstring:
Run |
I will take these:
|
I will take this - |
I'll work on this: -i "pandas.Series.str.swapcase RT03" \ |
I'll work on these: |
it seems that |
Sorry, I am a first time contributor. May I know how to check whether something is done or not? I searched for the keyword "swapcase" on this page and didn't see anyone was working on this. @chalky25 |
Welcome to contributing, @blackhole-hoop. I also started three days ago. I'm also not sure who fixed it or how it got fixed — because none of the merged commits mention it. That said, I just tested it using the following command:
And, I got the following in the result.
In other words, you use the script given by the original poster to check the docstring. |
i will work on this
|
i started contributing found some are already solve without mentioning. Result
and in code.sh file there is no pandas.String.str. related code line |
I'll take these:
|
Don't know exactly .that does this work this the first time. I am contributing. Sorry for the mistake
I want to work on these issues:
|
Hello! I am new to the pandas community. It seems like most of these are already taken. Is there any way to filter which methods have been run already? |
/Assign |
Hi! I will take these: |
follow up on issues #56804, #59458 and #58063
pandas has a script for validating docstrings:
pandas/ci/code_checks.sh
Lines 155 to 187 in 0cdc6a4
Currently, some methods fail docstring validation check.
The task here is:
scripts/validate_docstrings.py <method-name>
code_checks.sh
scriptExample:
pandas.Series.prod fails with the ES01 and RT03 errors
Please don't comment
take
as multiple people can work on this issue. You also don't need to ask for permission to work on this, just comment on which methods are you going to work.If you're new contributor, please check the contributing guide
The text was updated successfully, but these errors were encountered: