We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Expiration dates are being parsed incorrectly.
Example.
The following symbol "IBM160715C00060000" is being parsed as 2015-07-16 (2015/June/16) when it should be parsed as 2016-07-15 (2016/June/15)
2015-07-16 (2015/June/16)
2016-07-15 (2016/June/15)
In pandas-datareader/pandas_datareader/yahoo/options.py, the to_datetime method call on line 680 should be called as follows:
pandas-datareader/pandas_datareader/yahoo/options.py
to_datetime
frame["Expiry"] = to_datetime(frame.Rootexp.str[-6:], yearfirst=True)
to_datetime is defined pandas/pandas/tseries/tools.py on line 171.
pandas/pandas/tseries/tools.py
The text was updated successfully, but these errors were encountered:
Thanks @jasonstrimpel #203 was just merged
Sorry, something went wrong.
No branches or pull requests
Expiration dates are being parsed incorrectly.
Example.
The following symbol "IBM160715C00060000" is being parsed as
2015-07-16 (2015/June/16)
when it should be parsed as2016-07-15 (2016/June/15)
In
pandas-datareader/pandas_datareader/yahoo/options.py
, theto_datetime
method call on line 680 should be called as follows:frame["Expiry"] = to_datetime(frame.Rootexp.str[-6:], yearfirst=True)
to_datetime
is definedpandas/pandas/tseries/tools.py
on line 171.The text was updated successfully, but these errors were encountered: