Generating dummy variables from a vector of strings (one-hot encoding)

My favorite All the ways to do one-hot encoding - #4 by Mattriks

3 Likes