Created
August 15, 2018 19:10
-
-
Save WillKoehrsen/8e3c0d509a3d905e58397419a99b5b14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
# Number of missing in each column | |
missing = pd.DataFrame(data.isnull().sum()).rename(columns = {0: 'total'}) | |
# Create a percentage missing | |
missing['percent'] = missing['total'] / len(data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment