agrc / palletjack

A library for updating AGOL data from various external sources
https://agrc.github.io/palletjack/palletjack/
MIT License
12 stars 0 forks source link

Make sure columns are valid dict keys #27

Closed jacobdadams closed 1 year ago

jacobdadams commented 1 year ago

When geocoding a DF with street column Physical Address Street and zone Physical Address Zip Code, the geocode_dataframe method raised a KeyError. When I changed the source column names to street and zone, it worked. Need to check what's going on in the _asdict() call to make sure the column names are valid dict keys.