JovianHQ / opendatasets

A Python library for downloading datasets from Kaggle, Google Drive, and other online sources.
MIT License
321 stars 138 forks source link

Clean up minimal example of README #15

Open baniasbaabe opened 11 months ago

baniasbaabe commented 11 months ago

You can clean up the example from the README from:

import opendatasets as od
dataset_url = 'https://www.kaggle.com/tunguz/us-elections-dataset'
od.download('https://www.kaggle.com/tunguz/us-elections-dataset')

to:

import opendatasets as od
od.download('https://www.kaggle.com/tunguz/us-elections-dataset')

or:

import opendatasets as od
dataset_url = 'https://www.kaggle.com/tunguz/us-elections-dataset'
od.download(dataset_url)