Spaces:
Runtime error
Runtime error
Commit
·
e7ce3ee
1
Parent(s):
a149879
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,3 +18,8 @@ df = pdr.get_data_yahoo(user_input, start, end)
|
|
| 18 |
|
| 19 |
st.subheader("Data from year 2005 to 2022:")
|
| 20 |
st.write(df.describe())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
st.subheader("Data from year 2005 to 2022:")
|
| 20 |
st.write(df.describe())
|
| 21 |
+
|
| 22 |
+
st.subheader("Closing Price VS Time Chart:")
|
| 23 |
+
fig = plt.figure(figsize=(12,6))
|
| 24 |
+
plt.plot(df.Close)
|
| 25 |
+
st.pyplot(fig)
|