Getting Process finished with exit code -1073741819 (0xC0000005)

0

I am trying to do a simple import of data from cvs as a dataframe with the help of pandas in python. But i am getting Process finished with exit code -1073741819 (0xC0000005)

code used :

import pandas
df=pandas.read_csv("myfile.csv")
print(df)

Do you have any idea why I am getting this issue . Please let me know if you guys need any more details from me

Note : Sorry I corrected the typo (Its the typo while asking the question) I typed just import numpy line even for that i am getting enter image description here

python
python-3.x
pandas
asked on Stack Overflow Dec 18, 2019 by Karthikeyan • edited Dec 19, 2019 by Karthikeyan

1 Answer

1

Are you trying to import a Comma-Separated Values (*.csv) file? If so, you need to change pandas.read_cvs("myfile.cvs") to pandas.read_csv("myfile.cvs") (and you may need to change your file from myfile.cvs to myfile.csv).

The documentation for read_csv can be found here.

Your code would look something like:

import pandas
df=pandas.read_csv("myfile.csv")
print(df)
answered on Stack Overflow Dec 18, 2019 by Andrew G

User contributions licensed under CC BY-SA 3.0