Seleccione características y etiqueta de DF
#Select the features and labels
features=df.loc[:,df.columns!='label'].values[:,1:]
labels=df.loc[:,'label'].values
JJSSEECC
#Select the features and labels
features=df.loc[:,df.columns!='label'].values[:,1:]
labels=df.loc[:,'label'].values