Spaces:
Sleeping
Sleeping
Yunus Serhat Bıçakçı
commited on
Commit
·
066bfc6
1
Parent(s):
3345323
update
Browse files- pages/4_Test.py +0 -6
pages/4_Test.py
CHANGED
@@ -5,12 +5,6 @@ import pandas as pd
|
|
5 |
boroughs_count_2022_dec_df = "https://raw.githubusercontent.com/yunusserhat/data/main/data/boroughs_count_df_2022_dec.geojson"
|
6 |
mps_hate_2022_dec_df = "https://raw.githubusercontent.com/yunusserhat/data/main/data/mps_hate_2022_dec_count.geojson"
|
7 |
|
8 |
-
# Merging the datasets based on boroughs
|
9 |
-
merged_df = pd.merge(boroughs_count_2022_dec_df[['geo.name', 'count']],
|
10 |
-
mps_hate_2022_dec_df[['borough', 'Hate_Crime_Number']],
|
11 |
-
left_on='geo.name', right_on='borough')
|
12 |
-
|
13 |
-
|
14 |
# Initialize the map centered around London
|
15 |
m = folium.Map(location=[51.5074, -0.1278], zoom_start=10)
|
16 |
|
|
|
5 |
boroughs_count_2022_dec_df = "https://raw.githubusercontent.com/yunusserhat/data/main/data/boroughs_count_df_2022_dec.geojson"
|
6 |
mps_hate_2022_dec_df = "https://raw.githubusercontent.com/yunusserhat/data/main/data/mps_hate_2022_dec_count.geojson"
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
# Initialize the map centered around London
|
9 |
m = folium.Map(location=[51.5074, -0.1278], zoom_start=10)
|
10 |
|