Dear Riccardo,
upps, that did the job!
Thanks!
Bur I have another:
>>> import os
>>> from rdkit import RDConfig
>>> sdfFile = os.path.join(RDConfig.RDDataDir,'NCI/first_200.props.sdf')
>>> frame =
PandasTools.LoadSDF(sdfFile,smilesName='SMILES',molColName='Molecule',includeFingerprints=True)
>>> frame[['Molecule']].head(2)
==>
"
Molecule
0 <img src="
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAIAAAD2HxkiAAA
[...]
"
>>> frame[['SMILES']].head(2)
"
SMILES
0 CC1=CC(=O)C=CC1=O
1 c1ccc2sc(SSc3nc4ccccc4s3)nc2c1
"
Cheers & Thanks,
Paul
From: Riccardo Vianello <[email protected]>
To: [email protected],
Date: 26.09.2014 09:13
Subject: Re: [Rdkit-discuss] Weird iPython PandasTools notebook
look&feel
Hi Paul,
I'm not a regular pandas user, so this comment could be misplaced, but
from this output:
On Fri, Sep 26, 2014 at 9:02 AM, <[email protected]> wrote:
>>> frame.info # doctest: +SKIP
<bound method DataFrame.info of <class 'pandas.core.frame.DataFrame'>
it looks like you might be looking at the textual representation of the
frame.info method, instead of calling it and look at its output with
frame.info(). Is this intended?
Best regards,
Riccardo
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient, you
must not copy this message or attachment or disclose the contents to any other
person. If you have received this transmission in error, please notify the
sender immediately and delete the message and any attachment from your system.
Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept
liability for any omissions or errors in this message which may arise as a
result of E-Mail-transmission or for damages resulting from any unauthorized
changes of the content of this message and any attachment thereto. Merck KGaA,
Darmstadt, Germany and any of its subsidiaries do not guarantee that this
message is free of viruses and does not accept liability for any damages caused
by any virus transmitted therewith.
Click http://www.merckgroup.com/disclaimer to access the German, French,
Spanish and Portuguese versions of this disclaimer.------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss