division x, y en utilisant 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
Helpful Hare