rasa0704 commited on
Commit
a874ac5
·
1 Parent(s): da4d7f9

changed app file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,7 +31,7 @@ st.write(df.describe())
31
  # visualization
32
  st.subheader('The Closing price vs Time Chart')
33
  fig = plt.figure(figsize=(12,6))
34
- plt.plot(df.close)
35
  st.pyplot(fig)
36
 
37
  # with Moving Averages
@@ -39,7 +39,7 @@ st.subheader('The Closing price vs Time Chart with MA')
39
  ma100 = df.Close.rolling(100).mean()
40
  ma200 = df.Close.rolling(200).mean()
41
  fig = plt.figure(figsize=(12,6))
42
- plt.plot(df.close,'b')
43
  plt.plot(ma100,'r')
44
  plt.plot(ma200,'g')
45
  st.pyplot(fig)
 
31
  # visualization
32
  st.subheader('The Closing price vs Time Chart')
33
  fig = plt.figure(figsize=(12,6))
34
+ plt.plot(df.Close)
35
  st.pyplot(fig)
36
 
37
  # with Moving Averages
 
39
  ma100 = df.Close.rolling(100).mean()
40
  ma200 = df.Close.rolling(200).mean()
41
  fig = plt.figure(figsize=(12,6))
42
+ plt.plot(df.Close,'b')
43
  plt.plot(ma100,'r')
44
  plt.plot(ma200,'g')
45
  st.pyplot(fig)