frictionlessdata / datapackage-py

A Python library for working with Data Packages.
https://frictionlessdata.io
MIT License
191 stars 43 forks source link

README fix #147

Closed hootnot closed 7 years ago

hootnot commented 7 years ago
brazil_gdp = [{'Year': int(row['Year']),

row['Year'] is a datetime and gives an error on the int() conversion

it should (could) be:

brazil_gdp = [{'Year': row['Year'].year

see PR