Hello @Satish Barnala ,
Thanks for your query !
Can we know what exact error message you are getting by running the above piece of code ?
Were you able to download the pkl file locally by uncommenting the last line ?
I just tried your code , it has downloaded the pkl file successfully but in the last line while reading the file got an error w.r.t file handler etc.
Probably you are getting error in the last line after downloading while reading the .pkl file ?
In general , pkl file should have the right format before reading out the contents .
You might want to save it in a proper format using dataframe function and then use read_pickle ?
Couple of related articles:
read_Pickle documentation:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_pickle.html
Try to give the relative path in read_pickle function as mentioned in the above article.
Let us know if the above document helps you out in resolving the issue.