code :
df.to_csv=(“pokemon_data.csv”)
is executed sucessfully but cannot find the file in home folder.
Creating csv file
Hey @saurabhdit21, that is not possible. There maybe some error in your code or you maybe looking in the wrong destination.
Try to run the following code :
import os
os.getcwd()
and look for pokemon_data.csv
in the directory returned by executing the above cells.
Hope this helps !
Happy Learning
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.