Skip to content

Instantly share code, notes, and snippets.

Created Sep 5, 2020
What would you like to do?
# Load iris data and store in dataframe
from sklearn import datasets
iris = datasets.load_iris()
df = pd.DataFrame(, columns=iris.feature_names)
df['target'] =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment