Update app.py
Browse files
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 |
-
|
167 |
-
st.dataframe(
|
168 |
-
|
|
|
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:
|