mm2593 commited on
Commit
657399f
·
1 Parent(s): 1199366

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -3
app.py CHANGED
@@ -1,10 +1,21 @@
1
  import streamlit as st
2
- #import panda as pd
3
  import numpy as np
4
  #st.makrdown( :smile:)
5
 
6
  # this is a comment line
7
  st.title("Project Name : AI Driven UI\n")
8
- st.header(" Challenge # 1: Maps 🕵️‍♀️ " )
9
- st.subheader(" In this app we are ")
10
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
+ import panda as pd
3
  import numpy as np
4
  #st.makrdown( :smile:)
5
 
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('./CovidStates-Mehak.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],
17
+ 'Lon' :[-153.369141, -71.742332,144.7833,-100.437012,-84.270020,-86.660156,-80.191788,39.000000,-81.163727,-111.950684]
18
+ })
19
+
20
+ st.map(Cstates)
21
+ st.dataframe(Cstates)