Skip to content

Instantly share code, notes, and snippets.

@ImadDabbura
Created August 3, 2018 20:40
Show Gist options
  • Select an option

  • Save ImadDabbura/9414179cb50b205faae593b07236bedb to your computer and use it in GitHub Desktop.

Select an option

Save ImadDabbura/9414179cb50b205faae593b07236bedb to your computer and use it in GitHub Desktop.
# Load the data
df = pd.read_csv("../data/loans.csv")
# Check both the datatypes and if there is missing values print(f"Data types:\n{11 * '-'}")
print(f"{df.dtypes}\n")
print(f"Sum of null values in each feature:\n{35 * '-'}")
print(f"{df.isnull().sum()}")
df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment