Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get dummies in a dataframe pandas

df = pd.get_dummies(df, columns=['type'])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dummies #dataframe #pandas
ADD COMMENT
Topic
Name
9+4 =