0

I tried to import csv and excel file but there's error "The file in Arabic not English"

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
Input In [112], in <cell line: 1>()
----> 1 f = open(path)

FileNotFoundError: [Errno 2] No such file or directory: '/home/c0aa53c7-46c4-43c4-b9f1-58ac92eac2b2/aaa.csv'

I tried this code :

csv_file=pd.read_csv('C:\Users\ahlam\Downloads\aaa.csv')

and:

csv_file=pd.read_csv(r'C:\Users\ahlam\Downloads\aaa.csv')

and :

path = os.path.abspath("aaa.csv")

MyICQ
  • 987
  • 1
  • 9
  • 25
  • https://stackoverflow.com/questions/42165649/pandas-read-csv-filenotfounderror-file-b-xe2-x80-xaaetc-despite-correct-pat check this out – Smaurya Mar 06 '23 at 06:14

0 Answers0