niyaa commited on
Commit
f45cc22
·
1 Parent(s): f6dcfb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -58,15 +58,18 @@ if tickerSymbol:
58
  st.header('**Volume Bar Chart**')
59
  st.plotly_chart(fig_volume)
60
 
61
- date_str = start_date.strftime("%Y-%m-%d")
62
- st.write(date_str)
63
- date_obj = datetime.date(date_str)
64
- st.write(date_obj)
65
- date_str = date_obj.strftime("%Y-%m-%d")
66
- tickerDf = pd.DataFrame(tickerDf).reset_index()
67
- singleDf = tickerDf[tickerDf["Date"]==date_str]
 
 
 
68
  #if singleDf["c"]
69
- st.write(singleDf)
70
 
71
 
72
 
 
58
  st.header('**Volume Bar Chart**')
59
  st.plotly_chart(fig_volume)
60
 
61
+ st.write(type(start_date))
62
+
63
+ st.write(start_date)
64
+
65
+ date = datetime.date(2019, 1, 1)
66
+ date_str = date.strftime("%Y-%m-%d")
67
+ df = tickerDf[tickerDf["Date"]==date_str]
68
+ st.write(df)
69
+ #tickerDf = pd.DataFrame(tickerDf).reset_index()
70
+ #singleDf = tickerDf[tickerDf["Date"]==date_str]
71
  #if singleDf["c"]
72
+ #st.write(singleDf)
73
 
74
 
75