Demo entry 6783717

ML

   

Submitted by anonymous on Feb 18, 2019 at 19:06
Language: Python 3. Code size: 119 Bytes.

cols_to_transform = ['school', 'sex', 'address']
X = pd.get_dummies( X, columns = cols_to_transform, drop_first=True )

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).