text_plain_output_5.png text_plain_output_4.png text_plain_output_3.png text_plain_output_2.png text_plain_output_1.png
from sklearn.datasets import load_iris

import pandas as pd

iris = load_iris()
x = pd.DataFrame(data=iris.data, columns=iris.feature_names)
print(x.head())
y = iris.target
print(y)