-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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 for GH9010 #9198
BUG: fix for GH9010 #9198
Conversation
underlying_price = float(underlying_price) | ||
except ValueError: | ||
# see if there is a comma thousands separator that needs to be filtered out | ||
underlying_price = ''.join(c for c in underlying_price if c != ',') |
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.
I still think this should just be underlying_price.replace(',', '')
. As noted in the other PR, this method is not deprecated in Python 3: https://docs.python.org/3/library/stdtypes.html#str.replace
OK, will do by Saturday at the latest. On Sun, Jan 18, 2015 at 1:00 PM, jreback notifications@github.com wrote:
|
Looks like dstephens99 went ahead and fixed this. |
yes, @dstephens99 fixed it in pandas-datareader, but until we decide what exactly to do with the code in pandas, this can maybe still be merged in pandas? (@jreback) (only reopened to be sure we decide on this, we can just close it again if we are not going to merge this) |
see comments here: pydata/pandas-datareader#15 |
@jorisvandenbossche are we merging this? |
Superseded by #9358
This is an update of PR #9024.
closes #9010