stat157 / recent-quakes

Stat 157 Homework 2 due on Monday 2013-10-21 at 11:59pm
0 stars 20 forks source link

Group 1 Reproducibility Issues #30

Open joyyqchen opened 10 years ago

joyyqchen commented 10 years ago

Error with code in 2nd cell:

#d = json.loads(urllib.urlopen(url).read())
#data = pd.DataFrame(d.items())
#data

#opening it locally
d = json.load(open('1.0_week.geojson'))
data = pd.DataFrame(d.items())
data

---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)
<ipython-input-2-6c51623ddb65> in <module>()
      4 
      5 #opening it locally
----> 6 d = json.load(open('1.0_week.geojson'))
      7 data = pd.DataFrame(d.items())
      8 data

IOError: [Errno 2] No such file or directory: '1.0_week.geojson'