Hi Paul,

I had a similar problem and discussed it with Niko here on the list (around 7/8 
May 2013).

The solution was to update to Pandas 0.11 and use this call for displaying the 
table:

display(HTML(antibiotics.to_html(escape=False)))

, where 'antibiotics' ist the pandas dataframe.

I can send you the Email exchange in a separate Email to avoid spamming the 
list with redundant postings.

Cheers,
Markus


On 09/26/2014 09:26 AM, 
[email protected]<mailto:[email protected]> wrote:
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]><mailto:[email protected]>
To:        
[email protected]<mailto:[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]<mailto:[email protected]>> wrote:
frame.info<http://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<http://frame.info/> method, instead of calling it and look at its output 
with frame.info<http://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]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Disclaimer

The information in this transmission contains privileged and confidental 
information, including patient information protected by federal and state 
privacy laws. It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are hereby notified, that any review, 
dissemination, distribution or duplication of this communication is strictly 
prohibited. If you are not the intended recipient, please contact the sender by 
reply mail and destroy all copies of the original message.
------------------------------------------------------------------------------
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

Reply via email to