-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Updated docstring in TimeSeries #6829
Conversation
Thank you for the PR @davnish, unfortunately this does not work. The names are actually to the The issue with this approach is if we add more sources, we would have to manually change the text every time. |
@nabobalis Sorry for the delay, I was looking for a better way to approach this issue. I have updated my approach. I have added an |
It helps but the class names do not match the value used by the source keyword. We would need to extract them. |
Okay I was confused, I thought that the class names were the input lines. How should I extract the value used by source keywords? |
I'm not sure where the source is stored in each class, you'll have to check and see if we can access it |
Okay, I cross checked, |
They go with the source keyword. Ideally they should be added to the type location following the numpydoc style. |
Okay, I will add them to type location following the numpy docstyle. but wont this approach make the docstring static? |
Yes but you'll need to work out a method to make that dynamic. |
8c9e021
to
9676ec8
Compare
I have added a source list in |
Are these changes okay? @nabobalis |
3048ef6
to
9676ec8
Compare
@nabobalis I did the changes you asked for. I am not sure about the last change, I have done the changes but is this the change your asked for? |
pre-commit.ci autofix |
46773b9
to
18fbb43
Compare
The precommit needs fixing but otherwise, I think its ready for reviews. |
pre-commit.ci autofix |
Thank you, for helping and guiding me. I did a lot of mistakes and didn't understand what you referred to earlier, but i learned a lot from this PR. Thank You once again @nabobalis |
5951b34
to
9f0896d
Compare
pre-commit.ci autofix |
2ef0a04
to
af43ccb
Compare
Thanks for the PR @davnish |
This updates the docstring for Timeseries.
This will enable us to use the
help(TimeSeries)
to see the supported source packages for TimeSeries.Merging this PR:
Closes #4168