Python: getting latitudes and longitudes for all Craigslist cities

preview_player
Показать описание
This is video 8 of our series on scraping data to storing it to visualizing it. In this clip, we combine what we've learned in some of our previous videos to get latitudes and longitudes for each city where Craigslist has a presence.

Thanks for watching and be sure to subscribe to catch all our videos!

Intro and ending music is "Rise of Legend" by Butterfly Tea (CC-SA).
Рекомендации по теме
Комментарии
Автор

Great channel, great detailed explanation and illustration, thank you guys!

FadiB.
Автор

glad I found this channel, great video

DavidJones-lpwz
Автор

Really wonderful, worth more than a course study .Tnx

maryamtaheri
Автор

thank you for the tutorial
I am looking forward to your video on plotting the lat/long on a map

madballerize
Автор

Guys Thank you for this video! When are you going to putting the data into a map ? :)

kokodoug
Автор

I am getting a KeyError when I try to assing lat and long values to the dataframe

df.loc[df.city==place, 'lat'] == latlong['lat']
df.loc[df.city==place, 'long'] == latlong['lng']

KeyError: 'the label [lat] is not in the [columns]'

Please

rajathravindran
Автор

Noob question.. How or when do you decide to use a 'Try:Except' over a conditional statement 'If geocode is not None:'?

KarlBonenberger