e7dfbe88426950ff5f730681e68fd8b28e59ee3b,oddt/pandas.py,ChemDataFrame,to_excel,#ChemDataFrame#,300
Before Change
sheet.set_column(molecule_column_idx + 1, molecule_column_idx + 1, width=size[1] / 4.5)
for i, mol in enumerate(self[molecule_column]):
img = BytesIO()
img.write(mol.write("png").encode("utf-8", errors="surrogateescape"))
mol.write("png", "tmp.png", overwrite=True)
sheet.write_string(i + 1, molecule_column_idx + 1, "")
sheet.insert_image(i + 1,
molecule_column_idx + 1,
After Change
img = BytesIO()
png = mol.clone.write("png", size=size)
if type(png) is str:
png = png.encode("utf-8", errors="surrogateescape")
img.write(png)
sheet.write_string(i + 1, molecule_column_idx + 1, "")
sheet.insert_image(i + 1,
molecule_column_idx + 1,
"dummy",
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: oddt/oddt
Commit Name: e7dfbe88426950ff5f730681e68fd8b28e59ee3b
Time: 2016-12-19
Author: maciek@wojcikowski.pl
File Name: oddt/pandas.py
Class Name: ChemDataFrame
Method Name: to_excel
Project Name: RaRe-Technologies/gensim
Commit Name: 99151db71b27cef5fb58beef3b51d82842cee167
Time: 2017-03-30
Author: parul1sethi@gmail.com
File Name: gensim/scripts/glove2word2vec.py
Class Name:
Method Name: glove2word2vec
Project Name: invesalius/invesalius3
Commit Name: f95ee382033e9f87e7452877aba92ddcd57154c1
Time: 2018-10-29
Author: 36769547+otaviocarlos@users.noreply.github.com
File Name: invesalius/data/trackers.py
Class Name:
Method Name: PlhSerialConnection
Project Name: NVIDIA/sentiment-discovery
Commit Name: 83d80c5a19326a516b4ab54339c27f8cac349693
Time: 2018-06-14
Author: raulpuric@berkeley.edu
File Name: data_utils/lazy_loader.py
Class Name:
Method Name: make_lazy