Skip to content

Instantly share code, notes, and snippets.

@neelindresh
Last active July 11, 2022 10:45
Show Gist options
  • Save neelindresh/f9ab0c6f392ed453603b42dd3a984203 to your computer and use it in GitHub Desktop.
Save neelindresh/f9ab0c6f392ed453603b42dd3a984203 to your computer and use it in GitHub Desktop.
from sklearn.datasets import load_iris
iris_data=load_iris()
data=iris_data["data"]
target=iris_data["target"]
df=pd.DataFrame(data,columns=iris_data["feature_names"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment