Loan Analysis Project
Overview
This project is dedicated to exploring various aspects of loans, including applicant profiles, credit scores, interest rates, and income levels. By harnessing data analysis and visualization, the project seeks to provide a detailed understanding of factors influencing loan approval decisions.
Tasks
-
Data Import and Overview
- Import essential Python libraries for data manipulation and visualization.
- Load loan applicant data from an external source.
- Check and address any missing data to ensure data quality.
- Examine the data structure, including data types and column information.
-
Data Exploration and Visualization
- Visualize the distribution of FICO scores using appropriate graphs.
- Detect and handle any duplicate records within the dataset.
- Sort the data by different criteria, such as credit score or income.
- Generate scatter plots to investigate relationships between variables like credit score, income, and loan amount.
-
FICO Score Analysis
- Create a function to categorize FICO scores into meaningful categories (e.g., 'Excellent,' 'Good,' 'Fair,' 'Poor,' 'Very Poor').
- Apply the FICO score categorization function to generate a new 'Fico_category' column.
-
Interest Rate Classification
- Develop a function to classify interest rates as 'High' or 'Low' based on a predefined threshold.
- Apply the interest rate classification function to create an 'int.rate.type' column.
-
Income Transformation
- Calculate annual income based on the provided logarithmic data and round the values.
- Create an 'annual_income' column to store the calculated annual income values.
-
Categorical Data Analysis
- Analyze the distribution of loan purposes and visualize the results.
- Explore correlations between categorical variables within the dataset.
-
Loan Data Export
- Save the cleaned and enhanced dataset to a CSV file for future analysis and Tableau reporting.
-
Data Visualization on Tableau
- Export the dataset to create an interactive dashboard on Tableau.
Project Outcome
The Loan Analysis Project aims to shed light on critical aspects of loan approval processes by examining applicant data from various angles. By applying data analysis techniques and effective visualizations, the project helps stakeholders understand the role of credit scores, interest rates, and income in loan approval decisions.
It provides insights into the distribution of FICO scores, categorizes loans based on interest rates, and calculates annual income to enrich the dataset.
Note: This project contributes to informed decision-making within the lending industry, enabling financial institutions to better assess risk, streamline loan approval processes, and tailor offerings to applicant profiles.
View the code on GitHub:
Loan Analysis Project
View the Tableau Visualization on GitHub:
Tableau report file