Dear community,
is it possible to display the start and end date selection side-by-side?
Many thanks in advance!
Best, Chris
Dear community,
is it possible to display the start and end date selection side-by-side?
Many thanks in advance!
Best, Chris
Hi Chris,
import streamlit as st
col1, col2 = st.beta_column(2)
with col1:
date1 = st.date_input(‘Start Date’)
with col2:
date2 = st.date_input(‘End Date’)
##We can also create more columns side by side…and can choose their widths also
like… col1,col2 = st.beta_columns([1,2])…here columns width is in 1:2 ratio
Hope it helps
Regards,
Akash
Hi Akash,
many thanks for the fast help! Appreciated it! 