how to export data to unix system location using python
I have find the solution. It might because I am using Spyder from anaconda. As long as I use "\" instead of "\", python can recognize the location.
I am trying to write the file to my company's project folder which is unix system and the location is /department/projects/data/. So I used the following code
df.to_csv("/department/projects/data/Test.txt", sep='\t', header = 0)
The error message shows it cannot find the locations. how to specify the file location in Unix using python?