CHUCK_NORRIS problem

Hey i am unable to download the dataset available in th download section and want to know where else can i have it downloaded

hey @Kairavi27 ,
you can download it from this link https://www.dropbox.com/sh/nqo4ecbul58kl9v/AADulX8xj7ZCPCAsY0u0gfgta?dl=1.

I hope this had helped you.
Thank You :slightly_smiling_face:.

Hey i did try that but i am unable to accesss the csv file in jupyter notebook. can you please help me with that

what command did you used to read csv file ?
and is it showing any error ?

I tried using open command from the json library

why are you reading a csv file with json. ???
Use pandas it will be easier for you.

i tried using that also
still it’s coming no file or folder found

then you might be providing the wrong path.
Can you share with me your code. ?

I did provide the correct path and i shall share the code

f=pd.read_csv(’/Users/kairavikarla/Downloads/Test(1)’,‘r’)
listt=f.readlines()
listt=[int(value[:-1]) for value in listt[1:]]
f.close()

result_set=[]
for idx in listt:
url=“https://api.icndb.com/jokes/{}”.format(idx)
result=requests.get(url)
data=json.loads(result.content)
result_1=data[‘value’][‘joke’]
result_set.append(result_1)

just use.
pd.read_csv("/Users/kairavikarla/Downloads/Test(1)/file.csv")

You dont need to provide any other thing

I AM STILL UNABLE TO DO IT

can you please provide me with the link to your code.
if you have no problem, kindly upload your code on github and share me its link.

Thank You :slightly_smiling_face:.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.