Spaces:
Runtime error
Runtime error
Commit
·
aa5dc7a
1
Parent(s):
dde85a4
Update app.py
Browse files
app.py
CHANGED
@@ -101,10 +101,10 @@ if st.button('Analyze'):
|
|
101 |
plot_final_graph()
|
102 |
df_test = pd.DataFrame(y_test, columns=['Original_Price'])
|
103 |
df_predicted = pd.DataFrame(y_predicted, columns=['Predicted_Price'])
|
104 |
-
df_predictions = pd.concat([df_test, df_predicted], axis=1
|
105 |
|
106 |
st.subheader("Original and Predicted Stock Price:")
|
107 |
-
st.dataframe(df_predictions.sort_index(ascending=False),use_container_width=True)
|
108 |
|
109 |
|
110 |
|
|
|
101 |
plot_final_graph()
|
102 |
df_test = pd.DataFrame(y_test, columns=['Original_Price'])
|
103 |
df_predicted = pd.DataFrame(y_predicted, columns=['Predicted_Price'])
|
104 |
+
df_predictions = pd.concat([df_test, df_predicted], axis=1)
|
105 |
|
106 |
st.subheader("Original and Predicted Stock Price:")
|
107 |
+
st.dataframe(df_predictions.sort_index(ascending=False),use_container_width=True, hide_index=True)
|
108 |
|
109 |
|
110 |
|