-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Pandas error when running the single stock example #300
Comments
@fretchen This is likely do to the version of pandas. What version are you on? |
Hi, I run it with pandas 0.18.1 . I might try to downgrade pandas to test the version issue, but am not sure yet how this is typically done. |
We should support |
Ok, I tried to convert it back to version |
I can run |
I appear to get a similar error
File "C:\Anaconda3-64\lib\site-packages\pyfolio\plotting.py", line 49, in call_w_context where stock_rets = pf.utils.get_symbol_rets('FB') (thought it was initially issue with the date format, but not sure if that's the case) I'm using Pandas 0.18.1 |
Hm, I still can't reproduce. Can you show the output of import pandas
pandas.util.print_versions.show_versions() Mine is:
|
Here is my output
|
The thing I notice is |
Just upgraded pyfolio to 0.5.0 and pandas to 0.18.1 and am now getting the same error. Also using numpy 1.11.0. |
I upgraded to numpy 1.11.0 and still can't reproduce. |
Potentially #297 fixed it. |
I ran into this same issue when using pyfolio
for reference, this is what the relevant line of
This is in a virtualenv using pandas |
Thanks @abhijeetkalyan. We'll release a 0.5.1 soon that should have the fix. |
upgrade to master worked for me. thx! |
OK, I released a |
Hi, I am running the single stock example. As I run the line:
I obtain the following error:
The text was updated successfully, but these errors were encountered: