Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
Source by colab.research.google.com #
 
PREVIOUS NEXT
Tagged: #splitting #iloc
ADD COMMENT
Topic
Name
7+9 =