BiswajitPadhi99 commited on
Commit
fcebbb6
·
1 Parent(s): fee65b2

Modify app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -293,10 +293,10 @@ st.sidebar.header("Filter Data")
293
  @st.cache_data
294
  def load_data():
295
  # Load the dataframes (update the paths as necessary)
296
- admissions_df = pd.read_csv('data/admissions.csv')
297
- patients_df = pd.read_csv('data/patients.csv')
298
  # diagnoses_icd_df = pd.read_csv('data/diagnoses_icd.csv')
299
- # pharmacy_df = pd.read_csv('data/pharmacy.csv')
300
  # prescriptions_df = pd.read_csv('data/prescriptions.csv')
301
  # d_hcpcs_df = pd.read_csv('data/d_hcpcs.csv')
302
  # poe_detail_df = pd.read_csv('data/poe_detail.csv')
 
293
  @st.cache_data
294
  def load_data():
295
  # Load the dataframes (update the paths as necessary)
296
+ admissions_df = pd.read_feather('data/admissions.feather')
297
+ patients_df = pd.read_featehr('data/patients.feather')
298
  # diagnoses_icd_df = pd.read_csv('data/diagnoses_icd.csv')
299
+ pharmacy_df = pd.read_feather('data/pharmacy.feather')
300
  # prescriptions_df = pd.read_csv('data/prescriptions.csv')
301
  # d_hcpcs_df = pd.read_csv('data/d_hcpcs.csv')
302
  # poe_detail_df = pd.read_csv('data/poe_detail.csv')