Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

select features and label from df

#Select the features and labels
features=df.loc[:,df.columns!='label'].values[:,1:]
labels=df.loc[:,'label'].values
 
PREVIOUS NEXT
Tagged: #select #features #label #df
ADD COMMENT
Topic
Name
2+9 =