Converts a data frame of categorical data into a long tensor by converting the data to integers. No input checks are performed.
Converts a data frame of categorical data into a long tensor by converting the data to integers. No input checks are performed.