Skip to content

Instantly share code, notes, and snippets.

What would you like to do?"age").describe().show()
train_df.where("age is null").count()
#177 values out of the 714 values are null.
#replacing the null values with the mean age value
train_avg_age_df ={'age': 29})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment