“CSV file does not exist” for a filename with embedded quotes

前端 未结 18 799
萌比男神i
萌比男神i 2020-12-15 23:16

I am currently learning Pandas for data analysis and having some issues reading a csv file in Atom editor.

When I am running the following code:

imp         


        
18条回答
  •  误落风尘
    2020-12-15 23:43

    What works for me is

    dataset = pd.read_csv('FBI_CRIME11.csv')
    

    Highlight it and press enter. It also depends on the IDE you are using. I am using Anaconda Spyder or Jupiter.

提交回复
热议问题