nlpblogs commited on
Commit
7b2710a
·
verified ·
1 Parent(s): a48f95b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -163,9 +163,10 @@ if st.button("Sentiment Analysis", type="secondary"):
163
  fig1.update_traces(textposition='inside', textinfo='percent+label')
164
  st.plotly_chart(fig1)
165
 
166
- df1 = pd.concat([df, sentiment_df], axis=1)
167
- st.dataframe(df1)
168
- result = df1.dropna(how='all')
 
169
  st.dataframe(result)
170
 
171
  with tab2:
 
163
  fig1.update_traces(textposition='inside', textinfo='percent+label')
164
  st.plotly_chart(fig1)
165
 
166
+ result1 = pd.concat([df, sentiment_df], axis=1)
167
+ st.dataframe(result1)
168
+
169
+ result = result1.dropna(subset=['Comment'], inplace=True)
170
  st.dataframe(result)
171
 
172
  with tab2: