最佳答案
如何将数据从 Scikit-learn Bunch 对象转换为 Panda DataFrame?
from sklearn.datasets import load_iris
import pandas as pd
data = load_iris()
print(type(data))
data1 = pd. # Is there a Pandas method to accomplish this?