-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Google finance is returning object dtype data (rather than float) #3995
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
do u want to put this under cleanup data.py? i can take it on |
or rather should i mention it in the pr? |
u can move 2 your cleanup of data |
I think this just needs a conversion:
|
This looks to have been fixed. get_data_google returns floats instead of objects. x = web.get_data_google(['IBM'],'1/1/2010','1/1/2014')
x.loc[:,:,'IBM'].head()
Out[19]:
Open High Low Close Volume
Date
2010-01-04 131.18 132.97 130.85 132.45 6155846
2010-01-05 131.68 131.85 130.10 130.85 6842471
2010-01-06 130.68 131.49 129.81 130.00 5605290
2010-01-07 129.87 130.25 128.91 129.55 5840569
2010-01-08 129.07 130.92 129.05 130.85 4197105
x.dtypes
Out[20]:
Open float64
High float64
Low float64
Close float64
Volume float64
dtype: object |
@dstephens99 can you put up a validation test so we can close? |
Sure. Do you want a mention in whats new as well? |
sure you can mention. Also if you can figure out when this was fixed (e.g. use git blame), you can say, fixed in version 0.14.1...or whatever (if not ok too). But goes in 0.15.2 |
No description provided.
The text was updated successfully, but these errors were encountered: