Last active
July 24, 2020 20:15
-
-
Save vanbrands/316febdf87827645f0f19597f564100e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
dummies = pd.get_dummies(df, columns=['categorical_colum1', 'categorical_colum2']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment