pandas for dummies\ code example
Example 1: how to get dummies in a dataframe pandas
df = pd.get_dummies(df, columns=['type'])
Example 2: python for dummies
A good book I guess, but kinda outdated now.
df = pd.get_dummies(df, columns=['type'])
A good book I guess, but kinda outdated now.