1 2 3 4 5 6 |
import numpy as np import pandas as pd iris_dataset = load_iris() print(iris_dataset["data"][:5]) |
1 2 3 4 5 |
[[ 5.1 3.5 1.4 0.2] [ 4.9 3. 1.4 0.2] [ 4.7 3.2 1.3 0.2] [ 4.6 3.1 1.5 0.2] [ 5. 3.6 1.4 0.2]] |