Data format for ML algorithms
In this exercise, you have been given four dataframes df1, df2, df3 and df4. The final column of each dataframe is the predictor variable and the rest of the columns are training features.
Using the console, determine which dataframe is in a suitable format to be trained by a classifier.
This exercise is part of the course
Feature Engineering for NLP in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise