Dear all,

I have trouble showing a table including a ROMol column.

# Add column to dataframe
PandasTools.AddMoleculeColumnToFrame(df, smilesCol='smiles')
# Remove compounds that couldn't be built
df = df[~df.ROMol.isnull()]

This works fine, but when I want to display it (df.head()), I get the following 

AttributeError: 'module' object has no attribute 'format'

The first few columns are printed and have some image encoding in the 
respective column like:

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAI

Displaying single molecules or GridImages works fine. Am I missing something?
I'm using rdkit version: 2016.03.1 and python 2.7.12, pandas 0.19.2.



Prof. Dr. Andrea Volkamer

In-silico Toxicology Group
Institute of Physiology, Charité Universitätsmedizin Berlin

Campus Mitte: Virchowweg 6, 10117 Berlin/ Philippstraße 13, Haus 18, 10115 

Phone: +49 30 - 450 528 554 / 209 347 938
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
Rdkit-discuss mailing list

Reply via email to