Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Error while reading csv file

$
0
0

@yashu8888 wrote:

Trying on Win 7 , python 3 – reading csv file placed in my system … used 3 diff ways but face error in all three.

df=pd.read_csv(r"C:\Users\xxx_ADMIN\Desktop\Data_Science\DataSet\cdc_prediction\test.csv")
df=pd.read_csv(“C:/Users/xxx_ADMIN/Desktop/Data_Science/DataSet/cdc_prediction/test.csv”)
df=pd.read_csv(“C:\Users\xxx_ADMIN\Desktop\Data_Science\DataSet\cdc_prediction\test.csv”)

pandas/parser.pyx in pandas.parser.TextReader.cinit (pandas/parser.c:3427)()

pandas/parser.pyx in pandas.parser.TextReader._setup_parser_source (pandas/parser.c:6861)()

OSError: File b’C:\Users\xxx_ADMIN\Desktop\Data_Science\DataSet\cdc_prediction\test.csv’ does not exist

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles