<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def vectorize(self, df, column_name):
 """Vectorize a column in the dataframe"""

        vec_df = df[column_name].str.join(sep='-').str.get_dummies(sep='-')
        return vec_df