Skip to content

Commit

Permalink
Removing update for latest versions. Catching ValueError
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhyatt committed Oct 9, 2017
1 parent 427fe4f commit ddd34ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requirements.txt
@@ -1,6 +1,6 @@
-e git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki

pandas
pandas_datareader
numpy
pandas==0.20.3
pandas_datareader==0.5.0
numpy==1.13.1
pytz
2 changes: 2 additions & 0 deletions scraper.py
Expand Up @@ -67,6 +67,8 @@
pricing_panel = pd.concat([pricing_panel, data], axis=2)
except RemoteDataError:
print "RemoteDataError"
except ValueError:
print "ValueError"

pricing_panel = pricing_panel.dropna(axis=2, how="all")

Expand Down

0 comments on commit ddd34ee

Please sign in to comment.