Data, Data Streaming, Kafka, Streamlit, Data Analysis.
created_date >= dt - INTERVAL {minute} MINUTE GROUP BY created_date, salesordernumber order by 1 ;""" df = pd.read_sql(query, engine) df.style.format('{:,}') metric1, metric2, metric3 = st.columns(3) metric1.metric( label="Number of Transactions", value=(df['Num Transactions'].sum()), )