Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. # Use drop_first = True to avoid collinearity
  2. pd.get_dummies(df, drop_first = True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement