Answers for "dataset= pd.DataFrame(df_data, columns =['x','y1']"

0

load dataset X = pd.DataFrame(data.data, columns=data.features)

from sklearn.datasets import load_iris
import pandas as pd

data = load_iris()
df = pd.DataFrame(data.data, columns=data.feature_names)
df.head()
Posted by: Guest on August-20-2020

Code answers related to "dataset= pd.DataFrame(df_data, columns =['x','y1']"

Python Answers by Framework

Browse Popular Code Answers by Language