📜  波士顿数据集到熊猫 df - Python 代码示例

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

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

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