I have used
import pandas as pd
data = pd.read_csv('C:\Users\Dell\Downloads\8. Netflix Dataset.csv')
but then it is showing this
errorSyntaxError: (unicode error)
'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
After this I have also used
data = pd.read_csv(r"C:\Users\Dell\Downloads\8. Netflix Dataset.csv")
but it then shows
FileNotFoundError: [Errno 2]
No such file or directory: 'C:\\Users\\Dell\\Downloads\\8. Netflix Dataset.csv'
source https://stackoverflow.com/questions/72671994/why-jupyter-file-is-not-able-to-read-csv-file
Comments
Post a Comment