I\'m using ipython notebook by connecting to a server I don\'t know how to download a thing (data frame, .csv file,... for example) programatically to my local computer. Because
If you are using Jupyter notebook, you can go to the "File" tab on the top left part of the notebook and click "Open". It shows you the content of the current directory. You can select your data file with different format (CSV, text, etc) and then you can download it in your local computer.
Open tab in Jupyter notebook
Download your desired file