peter2000 commited on
Commit
d10e45e
1 Parent(s): d4df53b

Update appStore/sdg_analysis.py

Browse files
Files changed (1) hide show
  1. appStore/sdg_analysis.py +1 -9
appStore/sdg_analysis.py CHANGED
@@ -14,7 +14,6 @@ import matplotlib.pyplot as plt
14
  import numpy as np
15
  import streamlit as st
16
  import pandas as pd
17
- from wordcloud import WordCloud
18
  import matplotlib.pyplot as plt
19
 
20
  import tempfile
@@ -92,14 +91,7 @@ def app():
92
  )
93
 
94
  # Create and generate a word cloud image:
95
- text = ' '.join([str(word) for word in df["Keyword/Keyphrase"]])
96
-
97
- wordcloud = WordCloud(background_color="white", colormap="hot", random_state=42).generate(text)
98
-
99
-
100
- # Display the generated image:
101
- plt.imshow(wordcloud, interpolation='bilinear')
102
- plt.axis("off")
103
  #plt.show()
104
  st.pyplot()
105
 
 
14
  import numpy as np
15
  import streamlit as st
16
  import pandas as pd
 
17
  import matplotlib.pyplot as plt
18
 
19
  import tempfile
 
91
  )
92
 
93
  # Create and generate a word cloud image:
94
+
 
 
 
 
 
 
 
95
  #plt.show()
96
  st.pyplot()
97