I’m just starting with Streamlit, hope is a fun journey!!!
I have a vey simple app which is connecting to a dBMaria database. The database has a column with time values of this type: 00:34:16.6367.
(Witch is representig hours:minutes:seconds.Thousands of miliseconds), this is the column in DbMaria:
And this is the code in Python for displaing the data:
result_dataFrame = pd.read_sql(“SELECT * FROM Vuelta”,db)
st.write(result_dataFrame)
And I get this:
What can I do so the table displays the actual values instead o “a few seconds” or “34 minutes”?
Never mind. I need to figure out what the actual values are. "<m8[ns]" means "datetime64[ns]", so the values carry date information but somehow streamlit knows it must discard it. What is the first value?
That is weird. Are you sure about the dtype? dtype('<m8[ns]') can’t store timedeltas, I think. I am unable to store timedeltas in a Series with that dtype.