mm2593 commited on
Commit
cada672
·
1 Parent(s): 8a76494

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -6,11 +6,11 @@ import numpy as np
6
  # this is a comment line
7
  st.title("Project Name : AI Driven UI\n")
8
  st.subheader("Exercise # 1: Maps 🕵️‍♀️ " )
9
- st.subheader(" This app shows the states with the most Covid-19 cases per 100,000 residents in all time ")
10
 
11
- st.header(" US map ")
12
 
13
- #df= pd.read_excel('/Users/mmaqsood/Desktop/CovidStates-Mehak copy.xlsx' )
14
  ##dataframe({data, lat, lon})
15
  Cstates=pd.DataFrame({'states': ['Alaska', 'Rodhe Island', 'Guam','North Dakota','Kentucky','Tennessee','Florida','West Virginia','South Carolina', 'Utah'],
16
  'lat' :[66.160507,41.742325,13.4667,47.650589,37.839333,35.860119,25.761681,39.000000,33.836082,39.419220],
@@ -18,4 +18,6 @@ Cstates=pd.DataFrame({'states': ['Alaska', 'Rodhe Island', 'Guam','North Dakota'
18
  })
19
 
20
  st.map(Cstates)
21
- st.dataframe(Cstates)
 
 
 
6
  # this is a comment line
7
  st.title("Project Name : AI Driven UI\n")
8
  st.subheader("Exercise # 1: Maps 🕵️‍♀️ " )
9
+ st.write(" This app shows the states with the most Covid-19 cases per 100,000 residents in all time ")
10
 
11
+ st.subheader(" US map ")
12
 
13
+ df= pd.read_excel('/Users/mmaqsood/Desktop/CovidStates-Mehak copy.xlsx' )
14
  ##dataframe({data, lat, lon})
15
  Cstates=pd.DataFrame({'states': ['Alaska', 'Rodhe Island', 'Guam','North Dakota','Kentucky','Tennessee','Florida','West Virginia','South Carolina', 'Utah'],
16
  'lat' :[66.160507,41.742325,13.4667,47.650589,37.839333,35.860119,25.761681,39.000000,33.836082,39.419220],
 
18
  })
19
 
20
  st.map(Cstates)
21
+ #st.dataframe(Cstates)
22
+ st.subheader("Table")
23
+ st.write(df)