Skip to content
Snippets Groups Projects
Commit 83d537cb authored by Obada Alshamaa's avatar Obada Alshamaa
Browse files

Update singapore-airbnb-script-01.py

parent 08ff7aca
Branches all-with-parameter
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ import googlemaps ...@@ -24,7 +24,7 @@ import googlemaps
df = pd.read_csv("singapore_listings_2017-06-27.csv") df = pd.read_csv("singapore_listings_2017-06-27.csv")
# google maps API access # google maps API access
gmaps = googlemaps.Client(key='AIzaSyAUQPGZvMEpQq0lo0LQ0UhAwCT8hdRVLUA') gmaps = googlemaps.Client(key='--Insert your key--')
# add column for google maps identified planning area # add column for google maps identified planning area
df['planning_area'] = '' df['planning_area'] = ''
...@@ -58,4 +58,4 @@ for i in range(len(df.index)): ...@@ -58,4 +58,4 @@ for i in range(len(df.index)):
# after neighborhood was added save file to new csv # after neighborhood was added save file to new csv
df.to_csv('sg_170627_corrected.csv', index=False) df.to_csv('sg_170627_corrected.csv', index=False)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment