Feb-05-2018, 06:31 PM
Here I upload the data that is a subsample of pandas df. I saved it as csv. I tried to run the code (skipping the first line as my df is not saved as a separate file on the hard disk) and got the error:
Error:AttributeError: 'DataFrame' object has no attribute 'read'
The list of Amino Acids is as follows:AminoAcid = ['Alaninecp1252', 'Argininecp1252', 'Aspartic acidcp1252', 'Cystinecp1252', 'Glutamic acidcp1252', 'Glycinecp1252', 'Histidinecp1252', 'Hydroxyprolinecp1252', 'Isoleucinecp1252', 'Leucinecp1252', 'Lysinecp1252', 'Methioninecp1252', 'Phenylalaninecp1252', 'Prolinecp1252', 'Serinecp1252', 'Threoninecp1252', 'Tryptophancp1252', 'Tyrosinecp1252', 'Valinecp1252']Can you, please take a look at the data and advise me how to proceed.
Attached Files
df1.csv (Size: 172.89 KB / Downloads: 28)