Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
def generate_hospital_data():
|
4 |
-
# Generate hospital data
|
5 |
hospitals = {
|
6 |
"city": ["New York", "Los Angeles", "Chicago", "Houston", "Phoenix"],
|
7 |
"state": ["NY", "CA", "IL", "TX", "AZ"],
|
@@ -10,7 +9,6 @@ def generate_hospital_data():
|
|
10 |
df = pd.DataFrame(hospitals)
|
11 |
return df
|
12 |
def generate_state_data():
|
13 |
-
# Generate state data
|
14 |
states = {
|
15 |
"state": ["NY", "CA", "IL", "TX", "AZ"],
|
16 |
"population": [20000000, 40000000, 13000000, 29000000, 7000000],
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
def generate_hospital_data():
|
|
|
4 |
hospitals = {
|
5 |
"city": ["New York", "Los Angeles", "Chicago", "Houston", "Phoenix"],
|
6 |
"state": ["NY", "CA", "IL", "TX", "AZ"],
|
|
|
9 |
df = pd.DataFrame(hospitals)
|
10 |
return df
|
11 |
def generate_state_data():
|
|
|
12 |
states = {
|
13 |
"state": ["NY", "CA", "IL", "TX", "AZ"],
|
14 |
"population": [20000000, 40000000, 13000000, 29000000, 7000000],
|