How do I convert this scikit-learn section to pandas dataframe? [duplicate]

I am trying to convert this Python code section to pandas dataframe:

iris = datasets.load_iris()
x = iris.data
y = iris.target

I will like to import Iris data on my local machine instead of loading the data from Scikit library. Your kind suggestions would be highly appreciated.



from Recent Questions - Stack Overflow https://ift.tt/3mAW87e
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation