Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
|
@@ -882,7 +882,7 @@ elif st.session_state.page == "analisis_batch":
|
|
| 882 |
else:
|
| 883 |
st.markdown("<hr class='vbc-divider'>", unsafe_allow_html=True)
|
| 884 |
|
| 885 |
-
st.markdown("
|
| 886 |
raw_display_cols = ["date","raw_tweet","vader","textblob","bertweet","roberta","roberta_large"]
|
| 887 |
st.dataframe(df[raw_display_cols], use_container_width=True, hide_index=True)
|
| 888 |
|
|
@@ -902,12 +902,12 @@ elif st.session_state.page == "analisis_batch":
|
|
| 902 |
for col in models:
|
| 903 |
daily_display_cols.extend([col, f"{col}_label"])
|
| 904 |
|
| 905 |
-
st.markdown("
|
| 906 |
st.dataframe(df_price[["date","price","pct_change","log_return"]], use_container_width=True, hide_index=True)
|
| 907 |
|
| 908 |
df_merged = pd.merge(df_price, df_sentiment_daily, on="date", how="inner")
|
| 909 |
|
| 910 |
-
st.markdown("
|
| 911 |
final_display_cols = ["date","price","pct_change","log_return"] + [c for c in daily_display_cols if c != "date"]
|
| 912 |
st.dataframe(df_merged[final_display_cols], use_container_width=True, hide_index=True)
|
| 913 |
|
|
|
|
| 882 |
else:
|
| 883 |
st.markdown("<hr class='vbc-divider'>", unsafe_allow_html=True)
|
| 884 |
|
| 885 |
+
st.markdown("🗣️ Data Sentimen Mentah")
|
| 886 |
raw_display_cols = ["date","raw_tweet","vader","textblob","bertweet","roberta","roberta_large"]
|
| 887 |
st.dataframe(df[raw_display_cols], use_container_width=True, hide_index=True)
|
| 888 |
|
|
|
|
| 902 |
for col in models:
|
| 903 |
daily_display_cols.extend([col, f"{col}_label"])
|
| 904 |
|
| 905 |
+
st.markdown("₿ Historis Harga & Volatilitas Bitcoin")
|
| 906 |
st.dataframe(df_price[["date","price","pct_change","log_return"]], use_container_width=True, hide_index=True)
|
| 907 |
|
| 908 |
df_merged = pd.merge(df_price, df_sentiment_daily, on="date", how="inner")
|
| 909 |
|
| 910 |
+
st.markdown("🗂️ Dataset Final (Terintegrasi)")
|
| 911 |
final_display_cols = ["date","price","pct_change","log_return"] + [c for c in daily_display_cols if c != "date"]
|
| 912 |
st.dataframe(df_merged[final_display_cols], use_container_width=True, hide_index=True)
|
| 913 |
|