I am calculating amino acid composition of a fasta file containing 250 protein sequences. the calculated amino acid composition is being saved in a csv file which was read as a dataframe. Bur, when I test the csv file against the pre-designed svm model, prediction result only comes of the first row (first sequence) and not of all 250 rows (250 sequences). how can i iterate this dataframe so that prediction can be done for each rows and saved in another text or csv file?.

Similar questions and discussions