Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def process_files(specialty_codes, specific_state='MN'):
|
|
84 |
file_to_process = f'./{specific_state}.csv' if use_specific_state else state_files
|
85 |
|
86 |
for file in [file_to_process] if use_specific_state else state_files:
|
87 |
-
state_df = pd.read_csv(file, header=
|
88 |
#state_df = pd.read_csv(file, header=0) # Assuming no header for simplicity
|
89 |
|
90 |
for code in specialty_codes:
|
@@ -111,16 +111,3 @@ if st.button('Analyze Text Files for Selected Specialty π'):
|
|
111 |
else:
|
112 |
st.write("No matching records found in text files for the selected specialties.")
|
113 |
|
114 |
-
|
115 |
-
if st.expander(label='π©Ί Understand Provider Specialties π', expanded=False):
|
116 |
-
st.markdown('''
|
117 |
-
## Discover Care Providers by Specialty & Location: Quick Guide
|
118 |
-
- **Code**: Unique ID identifies each specialty clearly. π
|
119 |
-
- **Grouping**: Broad category umbrella for general expertise area. π·οΈ
|
120 |
-
- **Classification**: Specifies type of practice within broader category. π―
|
121 |
-
- **Specialization**: Details focus within classification for precise expertise. π
|
122 |
-
- **Definition**: Concise overview of the specialty's scope. π
|
123 |
-
- **Notes**: Extra information or recent updates provided. ποΈ
|
124 |
-
- **Display Name**: Commonly recognized name of the specialty. π·οΈ
|
125 |
-
- **Section**: Healthcare segment the specialty belongs to. π
|
126 |
-
''')
|
|
|
84 |
file_to_process = f'./{specific_state}.csv' if use_specific_state else state_files
|
85 |
|
86 |
for file in [file_to_process] if use_specific_state else state_files:
|
87 |
+
state_df = pd.read_csv(file, header=0, names=headers) # Assuming no header for simplicity
|
88 |
#state_df = pd.read_csv(file, header=0) # Assuming no header for simplicity
|
89 |
|
90 |
for code in specialty_codes:
|
|
|
111 |
else:
|
112 |
st.write("No matching records found in text files for the selected specialties.")
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|