mm2593 commited on
Commit
78e6de4
·
1 Parent(s): 96d01ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -2,13 +2,15 @@ import streamlit as st
2
  import pandas 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.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.xlsx' )
14
  ##dataframe({data, lat, lon})
@@ -17,7 +19,8 @@ Cstates=pd.DataFrame({'Name of States': ['Alaska', 'Rodhe Island', 'Guam','North
17
  'lon' :[-153.369141, -71.742332 , 144.793732 , -100.437012 , -84.270020, -86.767960, -80.191788 , -80.500000, -81.163727, -111.950684]
18
  })
19
 
20
- st.map(Cstates)
21
  st.dataframe(Cstates)
 
 
22
  ##st.subheader("Table")
23
  ##st.write(df)
 
2
  import pandas as pd
3
  import numpy as np
4
  #st.makrdown( :smile:)
5
+ [theme]
6
+ base="dark"
7
+ primaryColor="purple"
8
  # this is a comment line
9
  st.title("Project Name : AI Driven UI\n")
10
  st.subheader("Exercise # 1: Maps 🕵️‍♀️ " )
11
+ st.write(" This app shows top 10 states with the most Covid-19 cases per 100,000 residents in all time ")
12
 
13
+ st.subheader("Map")
14
 
15
  ##df= pd.read_excel('./Users/mmaqsood/Desktop/CovidStates-Mehak.xlsx' )
16
  ##dataframe({data, lat, lon})
 
19
  'lon' :[-153.369141, -71.742332 , 144.793732 , -100.437012 , -84.270020, -86.767960, -80.191788 , -80.500000, -81.163727, -111.950684]
20
  })
21
 
 
22
  st.dataframe(Cstates)
23
+ st.subheader("Map")
24
+ st.map(Cstates)
25
  ##st.subheader("Table")
26
  ##st.write(df)