I’ve been trying to display a data frame containing molecules in streamlit to no avail.
When a dataframe is generated from a molecular format file (.sdf) by RDkit (PandasTools.LoadSDF()), the molecules are read as objects in memory. I have tried to convert them to images using the RDkit Draw functions, but could not get them to render in streamlit, despite using the column_config argument.
If anyone has already solved this issue I would be grateful, will provide some code tomorrow for reference.
A similar issue was posted here without any resolution : link