-
-
Save douglaspsteen/34fcf597d26b2b1e1d30ce447678682f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load iris data and store in dataframe | |
from sklearn import datasets | |
iris = datasets.load_iris() | |
df = pd.DataFrame(data=iris.data, columns=iris.feature_names) | |
df['target'] = iris.target | |
df.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment