niyaa commited on
Commit
0759c1f
1 Parent(s): 67fdabf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -18,7 +18,7 @@ st.write('---')
18
  # Sidebar
19
  st.sidebar.subheader('Query parameters')
20
  start_date = st.sidebar.date_input("Start date", datetime.date(2019, 1, 1))
21
- end_date = start_date + datetime.timedelta(days=14)
22
 
23
  # User input for the stock ticker symbol
24
  tickerSymbol = st.sidebar.text_input('Enter Stock Ticker Symbol')
@@ -62,9 +62,11 @@ if tickerSymbol:
62
  st.write(start_date)
63
  tickerDf = pd.DataFrame(tickerDf).reset_index()
64
 
 
65
 
66
  #date = datetime.date(start_date)
67
  date_str = start_date.strftime("%Y-%m-%d")
 
68
  df = tickerDf[tickerDf["Date"]==date_str]
69
  st.write(df)
70
  #
 
18
  # Sidebar
19
  st.sidebar.subheader('Query parameters')
20
  start_date = st.sidebar.date_input("Start date", datetime.date(2019, 1, 1))
21
+ end_date = start_date + datetime.timedelta(days=2)
22
 
23
  # User input for the stock ticker symbol
24
  tickerSymbol = st.sidebar.text_input('Enter Stock Ticker Symbol')
 
62
  st.write(start_date)
63
  tickerDf = pd.DataFrame(tickerDf).reset_index()
64
 
65
+ st.write(tickerDf)
66
 
67
  #date = datetime.date(start_date)
68
  date_str = start_date.strftime("%Y-%m-%d")
69
+ st.write(date_str)
70
  df = tickerDf[tickerDf["Date"]==date_str]
71
  st.write(df)
72
  #