Hi, Tim,
PandasTools.RenderImagesInAllDataFrames(images=True)solve the problem.
Here is a jupyter notebook example.rdkit 2020.03.2 pandas 1.0.3
------------------ Original ------------------
From: "Tim Dudgeon"<tdudgeon...@gmail.com>;
Date: Mon, Mar 30, 2020 10:02 PM
To:
Cc: "RDKit Discuss"<rdkit-discuss@lists.sourceforge.net>;
Subject: Re: [Rdkit-discuss] In a pickle with pandas
Strange. It's just started working now.
I can't explain it.
On 30/03/2020 08:30, Markus Heller wrote:
>
> Probably not the reason, but there was an older version of pandas,
> 0.24 IIRC, that dinner render the molecules correctly.
>
> Can you perform calculations on the mol objects?
>
>> On Mar 29, 2020, at 4:07 AM, Tim Dudgeon <tdudgeon...@gmail.com>
wrote:
>>
>>
>>
>> I'm finding that if I create a pandas dataframe using
>> PandasTools.LoadSDF() and then write the dataframe out using
>> df.to_pickle() then I can read that pickle back in as a dataframe,
>> but the RDKit molecules don't get handled correctly.
>>
>> Is there a way to fix this?
>>
>> <efjecocmbbcdcbhc.png>
>>
>>
>> _______________________________________________
>> Rdkit-discuss mailing list
>> Rdkit-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss