I am trying to read an Excel file to a pandas dataframe. The code is as bellow:
import pandas as pd
import xlrd
df = pd.read_excel('C:\Users\user\Desktop\ConsumersData_English.xlsx')
Unfortunately I'm getting the following error:
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escapeter code here
Using previous answers of similar questions, I tried to put 'r', forward slash, double backslash - but nothing worked. Any ideas?