Importing .ipnyb file from Kaggle into local Jupyter

2

Total beginner question here, please let me know if it would be more appropriate somewhere else.

I just created my first iPython notebook in Kaggle and I downloaded the ipnyb file. Now I have installed Jupyter locally and want to try working on the same notebook that way.

It seems like I got Jupyter working because I am able to create a new local notebook and it looks like what I would expect:

enter image description here

But when I open the ipnyb file that I downloaded from Kaggle, I just see what looks like raw JSON instead of a live notebook:

enter image description here

I also noticed that the icons of these two notebook files look different:

enter image description here

Any suggestions about what I might be doing wrong and how I might get my properly import my Kaggle notebook into Jupyter locally?

Brian Z

Posted 2019-12-21T17:04:52.853

Reputation: 123

Answers

2

Thats because "ipnyb" is not proper format. Try downloading/changing it properly to .ipynb extension.

Noah Weber

Posted 2019-12-21T17:04:52.853

Reputation: 4 932

Doh! That's a helpful hint. – Brian Z – 2019-12-21T20:12:03.963

1When I tried re-exporting later, it worked. Not sure what I did differently this time, but I'm glad it is working. – Brian Z – 2019-12-21T22:39:40.140