Skip to content

IPython extension that allows searching, downloading, extracting and performing EDA on datasets from Kaggle

License

Notifications You must be signed in to change notification settings

apexplatform/magic-analyst-IPython-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaggle Datasets Extension

This is an ipython extension that allows you to search and download datasets from Kaggle.

Installation

To install the extension, run:

pip install 

You must authenticate using Kaggle’s public API. To obtain your Kaggle configuration file, visit Kaggle and select the “Create New API Token” option to download the file.

Next, create a directory in your root folder called .kaggle.

mkdir ~/.kaggle

Move the downloaded configuration file to the new directory, and change the permission using the command below.

mv kaggle.json ~/.kaggle
chmod 600 ~/.kaggle/kaggle.json

Usage

To use the extension, simply import it in your notebook:

%load_ext magic

You can then use the %search command to search for datasets:

%search <query>

And the %download command to download and extract datasets:

%download <dataset>

Example

Here's an example of how to use the extension:

%load_ext magic

%search "fifa"


# [
# abecklas/fifa-world-cup,
# ...
# ...
# ]


%download "abecklas/fifa-world-cup"

# The dataset abecklas/fifa-world-cup has been downloaded and extracted to /content/fifa-world-cup.

This will search for all datasets related to Titanic and download the Titanic dataset.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

IPython extension that allows searching, downloading, extracting and performing EDA on datasets from Kaggle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%