wesm / pydata-book

Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

keyerror tz not found in datasets/bitly_usagov/example.txt ch13.ipynb

tvanzyl opened this issue · comments

time_zones = [rec["tz"] for rec in records]


KeyError Traceback (most recent call last)
Cell In[4], line 1
----> 1 time_zones = [rec["tz"] for rec in records]

Cell In[4], line 1, in (.0)
----> 1 time_zones = [rec["tz"] for rec in records]

KeyError: 'tz'