-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Fix docstring quotes in pandas.PeriodIndex #27713
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
Comments
Those attributes are inherited via PeriodArray, which is in pandas.core.arrays.period |
Hey @jbrockmendel -- I think I found it. So when I did this it fixed the
|
My guess is it will want a period at the end of the docstring, but that looks about right. |
@jbrockmendel -- Ok so should I do a PR for |
That'd be great, thanks. |
And I will continue on other GL01 and GL02 errors in this same manner. Thanks! |
I see one other issue for GL01 - do we have a master tracking issue for this? If not @abkosar can you start one? |
@WillAyd It started with #23870. I first started working on this whole thing in that issue. However then it got closed and @datapythonista told me that I can continue working on them and create PRs on the way (that's how I interpreted it). So that's what I did but I can also create an issue for GL01 and GL02, work on all of them and then create a PR. Tell me which is the best practice and I will do that, thanks! |
I'm planning to start working in depth in those issues with the people I'm mentoring, probably in around a week. You can leave the issue creation with me, thanks! |
Sounds good, I will find another issue to work on then, thanks! |
You can keep working the PR you have open |
Yeah, I just ran This is great learning, especially with the library that I use the most every day, glad to be of help! |
@abkosar not a problem at all that you keep working on those fixes. We have some thousands of things to fix in the documentation, and I'll spend time on creating the issues for people to know about them and fix them, but any work you do (now finding the problems yourself, or later based on the issues) it's very welcome. |
I will continue working on GL01 and GL02 then but wait for you to create the issues to do the PRs. Thanks! |
My recommendation would be that if you work on fixing these errors, you open a PR every time you have some fixed, and you stop working on them (even if it's for a day or two). Not sure when I'll have the issues created, but if you keep opening relatively small PRs, it's very difficult that we overlap or repeat work. Also, if you can tag me in the PRs, that would be great, so I can review and get them merged faster. Thanks! |
I am trying to work on fixing the docstring errors GL01 and GL02. The
validate_docstrings.py
gave a lot of them so I pickedpandas.PeriodIndex
:However I need some help navigating to the related docstrings for each of these attributes. I thought I could find the
PeriodIndex
class atpandas.core.indexes.period
which I did but I can't find any of the attributes (so the docstrings) in that file.I am fairly new to contributing to Pandas so maybe I am making a dumb mistake or looking at the wrong place so I would appreciate some guidance.
Thanks!
The text was updated successfully, but these errors were encountered: