nlpblogs commited on
Commit
b899e1c
·
verified ·
1 Parent(s): fc185b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -165,7 +165,8 @@ if st.button("Sentiment Analysis", type="secondary"):
165
 
166
  df1 = pd.concat([df, sentiment_df], axis=1)
167
  st.dataframe(df1)
168
- result = df1.dropna(subset=["Comment"])
 
169
 
170
  with tab2:
171
  fig2 = px.bar(result, x="Sentiment", y="comment_date", color="Sentiment")
 
165
 
166
  df1 = pd.concat([df, sentiment_df], axis=1)
167
  st.dataframe(df1)
168
+ result = df1.dropna()
169
+ st.dataframe(result)
170
 
171
  with tab2:
172
  fig2 = px.bar(result, x="Sentiment", y="comment_date", color="Sentiment")