Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
train_df.where("cabin is null").count()/train_df.count() *100
#77% of values is missing for cabin column. So ignoring this column for the model
wo_cabin_train_df = train_df.drop("cabin")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment