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()
I was trying to read the csv file from the folder that was in my 'c:\'drive but, it raises the error of escape,type error, unicode......as such but this code works just take an variable then add r to read it.
csv
escape,type error, unicode
rank = pd.read_csv (r'C:\Users\DELL\Desktop\datasets\iris.csv') df=pd.DataFrame(rank)