Answers for "splitting x,y using iloc"

0

splitting x,y using iloc

# removing the customer id and name and saving the dependent varaibles 1n x
x = TW_data.iloc[:,1:24].values

# saving the independent variable in y
y = TW_data.iloc[:,24].values
Posted by: Guest on March-18-2022

Browse Popular Code Answers by Language