Dataset csv file

where will i find the csv file mentioned for MNIST dataset

Hey @Roopa1i_ma1hotra, please find attached the link of mnist dataset :

Hope this helps!
Please mark the doubt as resolved in my doubts section :+1:
Happy Learning :slight_smile:

(Sorry about that, but we canā€™t show files that are this big right now.)

what can i do to open this?

Just click on View Raw. You will be taken to the next screen. Right click and save that file to your laptop. It will get downloaded as a csv file by default.

Happy Learning :slight_smile:

thankyou sir it worked

1 Like

how to i find the path of this file?

just download the file in your folder where your code is. and access directly by name of file using pandas.

It will work.

the downloaded csv file is on my desktop and i am accessing with the same name but it is not working.

if your code file is also on desktop , then it will work.
Else ,
you need to provide the exact path to your dataset file
like this C:\users\username\Desktop\file.csv .

df = pd.read_csv(ā€œC:\Users\HP\Desktop\mnist_train.csvā€)
^
SyntaxError: (unicode error) ā€˜unicodeescapeā€™ codec canā€™t decode bytes in position 2-3: truncated \UXXXXXXXX escape

still showing this error

kindly re download the file by,
you will see view raw option on the above link provided
just do Alt + click , then it should open a window to download.
Use this method.

showing the same error.
what else can i do to move ahead?

try reading it by :
df = pd.read_csv('C:\\Users\\HP\\Desktop\\mnist_train.csv")

I hope this works.