pandas.Series.str.get_dummies

Split each string in the Series by sep and return a DataFrame of dummy/indicator variables.

param sep
str, default “|”

String to split on.

return

DataFrame Dummy variables corresponding to values of the Series.

Warning

This feature is currently unsupported by Intel Scalable Dataframe Compiler