Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what does features = data.drop(["Survived", "Sex", "Embarked"], axis=1) do in python

df_dropped_multiple = data.drop(['Survived', 'Name'], axis=1)
df_dropped_multiple.head()
Source by www.analyticsvidhya.com #
 
PREVIOUS NEXT
Tagged: #features #python
ADD COMMENT
Topic
Name
8+9 =