📜  sklearn.utils.bunch 到数据框 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:20.405000             🧑  作者: Mango

代码示例2
from sklearn.datasets import load_iris
import pandas as pd

data = load_iris()
df = pd.DataFrame(data.data, columns=data.feature_names)
df.head()