import pandas
from sklearn.datasets import load_iris
import pandas as pd
import matplotlib.pyplot as plt
data = load_iris()
Like above, I imported an iris data set from sklearn, and then I want to use pandas to load the dataset to do further work, what should I do?
I know that pandas can read datasets from excel, csv, table, etc. But the dataset I expected pandas to read is from sklearn, so I'm really confused. I expect to use pandas to load the dataset.