In the sentence : "We extract the numerical columns that quantify some attributes of such animals and our goal is try to predict their animal based on those attributes stored in the dataframe named data
"
I think you want to meant to write ‘try to predict their species based on those attribtue’, and not ‘predict their animal’