Skip to content

Instantly share code, notes, and snippets.

@abhishek-shrm
Created April 21, 2020 13:19
Show Gist options
  • Save abhishek-shrm/08e58a0bb71d6e8b5ac721dafd751dad to your computer and use it in GitHub Desktop.
Save abhishek-shrm/08e58a0bb71d6e8b5ac721dafd751dad to your computer and use it in GitHub Desktop.
lat_long_list = []
for i in range(1,25):
temp=[]
for index, instance in df3[df3['hour'] == i].iterrows():
temp.append([instance['VehicleLocation.Latitude'],instance['VehicleLocation.Longitude']])
lat_long_list.append(temp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment