Explore the credit data
Begin by looking at the data set cr_loan
. In this data set, loan_status
shows whether the loan is currently in default with 1 being default and 0 being non-default.
You have more columns within the data, and many could have a relationship with the values in loan_status
. You need to explore the data and these relationships more with further analysis to understand the impact of the data on credit loan defaults.
Checking the structure of the data as well as seeing a snapshot helps us better understand what's inside the set. Similarly, visualizations provide a high level view of the data in addition to important trends and patterns.
The data set cr_loan
has already been loaded in the workspace.
This exercise is part of the course
Credit Risk Modeling in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Check the structure of the data
print(____.dtypes)
# Check the first five rows of the data
print(cr_loan.____)