0

I'm trying to look at the lat and lon details of a open data api in victoria. The way the lat lon data is fromated is as below,

['href', 'id', 'number', 'organization', 'enabled', 'name',
'beacon_index', 'ios_name', 'android_name', 'location',
'broadcast_travel_times', 'devices', 'school_crossings',
'latest_active_time_in_range_stats', 'latest_stats', 'latest_raw_stats',
'broadcast_message', 'beacon_stats', 'broadcast_travel_time',
'beacon_events', 'incidents', 'ibeacon_data']

Transforming the location data into a lat and lon column so it is usable, i've been trying this in python (ideally want to do it in golang but eh).

sites_df['lat']=sites_df.location[0][0]

to get just one lat value. How would I do this through the entire dataset ot create a new lat and lon column?

LeCoda
  • 116
  • 5
  • 26
  • 61

0 Answers0