I am using Pandas on Mac, to read and write a CSV file, and the weird thing is when using full path, it has error and when using just a file name, it works. I post my code w
Try using os.path.join().
os.path.join()
import os (...) output_filename = 'newMaster.csv' output_path = os.path.join('Downloads', output_filename) (...) sourceDf.to_csv(output_path)
Use the same methodology to point pandas.read_csv() in the right direction.
pandas.read_csv()