I understand that we call proc_df function for converting all the categorical data to integer codes. Let’s say we code “Apple” as 1 in the training data by using proc_df function.
Now, I want to transform the test data, the same way as training data (Apple = 1). How to do this by using this library?