awacke1 commited on
Commit
51dae36
·
1 Parent(s): 7e1b034

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -0
app.py CHANGED
@@ -26,6 +26,28 @@ PR0001INCOME -> UninsuredMedicalExpenses
26
  }
27
  ''')
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  df = pd.read_csv("testfile.csv")
30
  @st.cache
31
  def convert_df(df):
 
26
  }
27
  ''')
28
 
29
+ st.graphviz_chart('''
30
+ digraph {
31
+ PR0012MENTALHEALTH -> Apprehension -> UndefinedFearAnxious
32
+ PR0012MENTALHEALTH -> Attempts -> SuicideHomicide
33
+ PR0012MENTALHEALTH -> Difficulty -> Managing -> Anger
34
+ PR0012MENTALHEALTH -> Difficulty -> Managing -> Stress
35
+ PR0012MENTALHEALTH -> Expresses -> SuicidalHomicidalThoughts
36
+ PR0012MENTALHEALTH -> False -> BeliefsDelusions
37
+ PR0012MENTALHEALTH -> False -> PerceptionsHallucinationsIllusions
38
+ PR0012MENTALHEALTH -> FlatAffectLackofEmotion
39
+ PR0012MENTALHEALTH -> IrritableAgitatedAggressive
40
+ PR0012MENTALHEALTH -> LossofInterest -> Involvementin -> ActivitiesSelfCare
41
+ PR0012MENTALHEALTH -> MoodSwings
42
+ PR0012MENTALHEALTH -> NarrowedtoScattered -> AttentionFocus
43
+ PR0012MENTALHEALTH -> PurposelessCompulsiveRepetitiveActivity
44
+ PR0012MENTALHEALTH -> SadnessHopelessnessDecreasedSelfEsteem
45
+ PR0012MENTALHEALTH -> SomaticComplaintsFatigue
46
+ }
47
+ ''')
48
+
49
+
50
+
51
  df = pd.read_csv("testfile.csv")
52
  @st.cache
53
  def convert_df(df):