-
Notifications
You must be signed in to change notification settings - Fork 679
Added webscraper for Thrift Savings Plan #157
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
Conversation
Thanks! Looks like the data is somewhat unreliable (see Travis Errors - I re-ran them and got the same thing). Maybe add a check to ensure the scraper got data and a couple retries. You can then raise RemoteDataError and add a
In the test. Also, can you add a note in the what's new? |
I looked at why the test was failing, the CSV file that I was downloading I also added a what's new 2.3 document. On Wed, Jan 6, 2016 at 11:37 PM, David Stephens [email protected]
|
.. ipython:: python | ||
|
||
import pandas_datareader.tsp as tsp | ||
tspreader = tsp.TSPReader(start='2015-10-1',end='2015-12-31') |
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.
a space before end
and after comma is missing
tspreader = tsp.TSPReader(start='2015-10-1', end='2015-12-31')
see https://www.python.org/dev/peps/pep-0008/#whitespace-in-expressions-and-statements
Thanks - can you squash this and we can merge? |
I think this got squashed before the lint PR - can you rebase so we can merge? Thanks. |
Everything should be set to go. Thanks for your help. |
Added webscraper for Thrift Savings Plan
Thanks! |
I added a webscraper to put TSP fund data into a dataframe. In order to import pandas_datareader on my machine I had to put a requirement requests>=2.3.0