Posts by SergioCK • 16 points
3 posts
-
0
votes1
answer85
viewsA: A looping does not end to start another. How to solve? (Python)
The variable fasta is defined somewhere outside the function? I found the following example: from Bio import SeqIO for record in SeqIO.parse("example.fasta", "fasta"): print(record.id) From what I…
-
0
votes3
answers2351
viewsA: Import csv with pandas. Column values with semicolon. What to do?
One way around is to join the column with the information to the left of ";" with the column containing the information to the right of ";". Would something like this:…
-
0
votes3
answers121
viewsA: Python - Spaces appear out of thin air when printing print()
Try to put in charge print() the argument sep=''. Would something like this: print(EncontrarOrdem(self,maior,nome,valor,tipo),sep='') The default tab is a space. When placing '' (nothing between…