简体   繁体   中英

i am getting error while reading the csv file in jupyter

I am getting this error while reading a CSV file in jupyter notebook:

df = pd.read_csv("D:/echocardiogram.data.csv")

ParserError                              
Traceback (most recent call last)
<ipython-input-18-8874d53db29b> in <module>
----> 1 df = pd.read_csv("D:/echocardiogram.data.csv")

My system is windows 10 .

your dataset name is 'echocardiogram.data.csv' this is why you getting parser error. just rename the file as 'echocardiogram.csv' then read the data using pandas.

import pandas as pd
df=pd.read_csv("D:/echocardiogram.csv")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM