Posts by Rony Deikson Santana • 55 points
4 posts
-
0
votes2
answers174
viewsQ: How to create class correctly with pandas by applying methods?
I have a 'data.csv' file, with the data below: turma,nome,code,motivo,atividade,trofeus,data 9º Ano Fundamental A,Maria Joana,9X4YK,Realizar atividade Astromaker,Lição A,3,21/02/2020 11:44:11 9º Ano…
-
1
votes2
answers80
viewsQ: How to clear lines on pandas using a list as a filter?
Given the df as indicated below (could be a greater good), I would like to delete in df the data of the lines according to the list 'listFilter'. nome =…
-
0
votes2
answers346
viewsQ: Is it possible to run a python script that is in another directory?
I have a python script "dad": # Executar script de outra pasta if __name__ == '__main__': cmd = "main.py -username abcd -password 1234" subprocess.call(cmd, Shell=True) Which calls the script "son"…
pythonasked Rony Deikson Santana 55 -
2
votes1
answer1686
viewsQ: How to run a python script from a directory inside another script that is in another directory?
I have a python script "dad": import subprocess # Executar script de outra pasta if __name__ == '__main__': cmd = "main.py -u abcd -p 1234" subprocess.call(cmd, Shell=True) Which calls the script…