I\'m trying to load a .csv file using the pd.read_csv() function when I get an error despite the file path being correct and using raw strings.
.csv
pd.read_csv()
Try using os.path.join to create the filepath:
os.path.join
import os f_path = os.path.join(*['C:', 'Users', 'user', 'Desktop', 'datafile.csv']) df = pd.read_csv(f_path)