Skip to content

Instantly share code, notes, and snippets.

@Ayushijain09
Created July 13, 2020 19:38
Show Gist options
  • Save Ayushijain09/5214c4961d10aa5dcf2b5b71658297d7 to your computer and use it in GitHub Desktop.
Save Ayushijain09/5214c4961d10aa5dcf2b5b71658297d7 to your computer and use it in GitHub Desktop.
print(df_train.isnull().sum()/len(df_train)*100).nlargest())
#output => Returns the 5 largest values from the series. No missing values in automobile dataset, so all shows 0%.
"""symboling 0.0
doornumber 0.0
wheelbase 0.0
carlength 0.0
carwidth 0.0
dtype: float64"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment