I want to save data-frame as excel file using project-lib for Python in IBM Watson Studio.
The tutorial shows example for csv
file, which works. But when I try to do the same for excel it needs to do more actions which I couldn't know.
from pandas import ExcelWriter
excel_writer = pd.ExcelWriter("1.xlsx")
project.save_data(data=df_4.to_excel(excel_writer), file_name="1.xlsx", overwrite=True)
I expect to have saved dataframe(df_4)
as excel in project assets area in IBM Watson.