Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ taraf_info = dataset2.to_pandas()
|
|
13 |
cities = taraf_info['City'].unique().tolist()
|
14 |
|
15 |
def subset_city_year( city , year ):
|
16 |
-
edges =
|
17 |
return edges
|
18 |
|
19 |
|
|
|
13 |
cities = taraf_info['City'].unique().tolist()
|
14 |
|
15 |
def subset_city_year( city , year ):
|
16 |
+
edges = taraf_info[(taraf_info['Year'] == year) & (taraf_info['City'].isin(city))]
|
17 |
return edges
|
18 |
|
19 |
|