Hello, I am transposing a pandas df, and trying to print out using st.table().
The code:
from astroquery.ipac.ned import Ned
objectInput = 'ABELL 2218'
result_tableNED = Ned.query_object(objectInput)
dataFrameObjectNED = result_tableNED.to_pandas()
st.table(dataFrameObjectNED.T)
Error:
StreamlitAPIException: ("Could not convert 'ABELL 2218' with type str: tried to convert to int64", 'Conversion failed for column 0 with type object')
Same code in jupyter works fine but without using streamlit.
Thank you