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
[BUG] Fix TimeSince
check of inconsistency between time_index
and start
#4015
Conversation
TimeSince
" check of inconsistency between time_index and…TimeSince
check of inconsistency between time_index and…
TimeSince
check of inconsistency between time_index and…TimeSince
check of inconsistency between time_index
and start
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
@KishManani as you are on it, can you kindly fix the The comments basically have to be indented |
Thanks for spotting that @aiwalter! I've made the change to the examples. But the parameters also don't look like they're rendering how they should. I checked out the docs on documentation and the examples of good documentation. I can't see an example with a bullet pointed list in the parameters section. If you know of any examples or how I should change the docstring so that the parameters section renders correctly please let me know! Making the docs locally by running |
You can check |
Then there should be one - let's open an issue for someone to link one (and perhaps add explanation what can be learnt from the examples on the Might be best if you do this, @KishManani, since you know best what you were looking for and didn't find, so you can best specify what the |
Sure! Will do. |
Thanks @aiwalter, this is very handy indeed! Do you happen to know of a faster workflow? It can take up to 5 minutes or longer for this to run. The workflow for me is currently like the following: 1) look at documentation and spot errors, 2) take a guess as to whether I need to change indentation or some other fix, 3) render the docs and check if the fix worked. I was wondering if you know of a quicker way to do step 3) 😅 ? For some reason the formatting is not consistent in my list in the parameters section. For some reason "time-like" is bolded. Any suggestions? |
Get an exorcist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good for me.
I'd say, the doc formatting issue is different scope and hence a different PR.
Let's merge this so there isn't too much conflict with PR #4018
What does this implement/fix? Explain your changes.
There is a check that the type of the time index and the
start
argument are consistent. The check was still being done onX.index
which is fine for series data, but not for panel or hierarchical data. The check has been changed to thetime_index
variable.PR checklist
For all contributions