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
tsplot cannot use variables in a DataFrame index #77
Comments
Try calling df.reset_index(), even just in the line where you pass it to |
OK the solution will have to be doing something like this (Or not calling |
So, I got it to work following your instructions. See the notebook for the gory details. Essentially the issues were.
It seems counterintuitive to me that you have to reorder the table if you have a temporal index, but I'm sure you have your reasons. In this instance I think I'm not understanding what was optional and what was required. Closing as not a bug. I'll be poking at the documentation and doing more with the library so I'm sure I'll have more questions. Thanks for your help. |
The main advantage of I'll downgrade the tag to "annoyance" and think about this more :) |
Well this happened to me today. |
Here is a notebook that illustrates the issue.
It appears that if one passes a dataframe with a date based index and no condition; one goes down the first branch in tsplot() in timeseries.py
As near as I can tell, constructing an x near line 99 of timeseries.py would make this work. Trying to determine exactly what goes into that line
doesn't work, but something near it should. ( or I just need to convert dates to? )
The text was updated successfully, but these errors were encountered: