i dont know why even after downloading the file error is occurring that no such directory
You’re looking for the file in current directory, but it’s not present there. You’re listing a different directory in os.listdir()
.
Just ensure that you’re trying to read from the correct path, and the code should work.
Mention path in pd.read_csv()
with the file name e.g. pd.read_csv("./directory_name/filename.extension")