Exporting excel/csv files fails

Dear community,

I recently started using Jupyter Notebook on IBM Watson Studio. One thing that I still don´t manage to do is to export dataframes into excel or csv files, if this is possible.

What I am trying to do right now, after reading some other threads is this:

from IPython.display import FileLink, FileLinks
df.to_csv('df.csv', index=False) #df is the name of my dataframe
FileLink('df.csv')

This is however the error I get:

PermissionError: [Errno 13] Permission denied: 'df.csv'

Do you have any suggestion, I am really stuck.