SAVE PYTHON TABLE IN EXCEL WITH EXCEL NAME BEING A VARIABLE

Asked

Viewed 13 times

-2

I have a code to do a simple cleaning in a table that I import from excel by pandas. The file that is imported is obtained through a code that recognizes the last modified file within a folder. When I go to save the resulting table in excel, I cannot save with the name that is inside the variable that I would like to be the name in excel file, I want it to be the same name as the original file that I uploaded. Follows code:

inserir a descrição da imagem aqui

  • Hello, could you put your code inside the question, textual? It is not necessary to remove the image, but it is important to have the essential parts of your source code in the body of the question. Learn why it’s not cool to put pictures in questions Post Error Message as Picture. One of the reasons is that if someone wants to answer the question, they cannot copy and execute their code. Images do not play well in search engines because content cannot be indexed.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.