sklearn (16)

  1. import sklearn
  2. dataset = sklearn.datasets.load_iris(as_frame=True)
  3. df = dataset.frame
  • load_iris()
  • load_diabetes()
  • load_digits()
  • load_linnerud()
  • load_wine()
  • load_breast_cancer()
  • fetch_olivetti_faces()
  • fetch_20newgroups()
  • fetch_california_housing()
  • fetch_lfw_people()
  • fetch_kddcup99()

seaborn (22)

  1. import seaborn
  2. seaborn.get_dataset_names()
  3. df = seaborn.get_dataset('titanic')

UCI (100+)

  1. pip install ucimlrepo
  1. import ucimlrepo as uci
  2. uci.list_available_datasets()
  3. dataset = uci.fetch_ucirepo(id=45)
  4. df = dataset.data.original

openml (24k+)

  1. pip install openml
  1. import openml
  2. dataset = openml.datasets.get_dataset(61)
  3. X, y , categoical, names = dataset.get_data()

Google tag (gtag.js)