Image for post
Image for post
Photo by Filiberto Santillán on Unsplash

When I first tried to import Kaggle datasets into Google Colab, I scoured Medium, Kaggle, and other online forums for how to do so and each answer was slightly different from the next. I also found it rather tedious to try to remember all the steps in order to successfully import the dataset.

Therefore in this post, I will share my solution to these problems with a function I wrote to handle all the dirty work for you. All you have to do is provide the Kaggle dataset url and your api credentials. If you would like to understand the script, please read the entire post. …


Joseph Lilleberg

I leverage data to tell untold stories and model the future.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store