Posts by Gabriel Machado • 1 point
2 posts
-
0
votes3
answers16188
viewsA: Removing lines from a dataframe that meet a certain condition
Written that way, the code is not very readable. What you have to do, in fact, is find the indexes that meet your condition and then pass them to the drop. In that case, I would use a list…
-
0
votes2
answers250
viewsA: How to print and save to a TXT
You can run from the terminal and save the outputs. Like, if you’re on Ubuntu: python3 meuprograma.py -> touch outputs.txt This saves all your prints executed in the program in a text file…
pythonanswered Gabriel Machado 1