pandas.read_csv FileNotFoundError: File b’\xe2\x80\xaa’ despite correct path

Try this and see if it works. This is independent of the path you provide. pd.read_csv(r’C:\Users\aiLab\Desktop\example.csv’) Here r is a special character and means raw string. So prefix it to your string literal. https://www.journaldev.com/23598/python-raw-string: Python raw string is created by prefixing a string literal with ‘r’ or ‘R’. Python raw string treats backslash () as … Read more

Python Parse CSV Correctly

You should use the csv module: import csv reader = csv.reader([‘1997,Ford,E350,”Super, luxurious truck”‘], skipinitialspace=True) for r in reader: print r output: [‘1997’, ‘Ford’, ‘E350’, ‘Super, luxurious truck’]