Use the train_cats() function which takes your data frame and changes the categorical variables to data type (dtype) category. Then when we call proc_df() these categorical variables will be changed to numeric variables. Its important that they all have the same spelling etc!
Check out 7:58 on Machine Learning 1 lesson 2 video.
Hope that helps