williambr commited on
Commit
81dff67
1 Parent(s): 70fb3a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,9 @@ import pandas as pd
3
  import streamlit as st
4
 
5
  df = pd.read_csv('Map-City-State-Zip-Lat-Long.txt', dtype=str, sep=';')
 
 
 
6
  st.title("Input a city or zip code and we will take you there!")
7
 
8
  city_name = st.text_input("Please search for a city:")
 
3
  import streamlit as st
4
 
5
  df = pd.read_csv('Map-City-State-Zip-Lat-Long.txt', dtype=str, sep=';')
6
+ df = df["Latitude"] = df["Latitude"].astype(float)
7
+ df = df["Longitude"] = df["Longitude"].astype(float)
8
+
9
  st.title("Input a city or zip code and we will take you there!")
10
 
11
  city_name = st.text_input("Please search for a city:")