I created a pandas dataframe in python and I want to transfer it to a xlsx excel file
I used the code below and It had no errors.
I also named the excel file "test.xlsx" but I dont know where can I find that excel file,
please let me know if I had to create an empty xlsx file named test before running or any thing else!
data = pd.DataFrame(list, columns = ['column1', 'column2', 'column3', 'column4'])
out = pd.DataFrame(data, columns=['column1', 'column2', 'column3', 'column4'])
out.to_excel('test.xlsx')