Spaces:
Sleeping
Sleeping
liberatoratif
commited on
Commit
•
618f299
1
Parent(s):
78f105e
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ counties = st.selectbox('Select a County below', list(lats_longs.keys()))
|
|
32 |
|
33 |
@st.cache
|
34 |
def county_select(county):
|
35 |
-
path = "county
|
36 |
crime = pd.read_csv(path)
|
37 |
return crime
|
38 |
|
|
|
32 |
|
33 |
@st.cache
|
34 |
def county_select(county):
|
35 |
+
path = "county/{}.csv".format(county)
|
36 |
crime = pd.read_csv(path)
|
37 |
return crime
|
38 |
|