Learn practical skills, build real-world projects, and advance your career
# importing libariries required

import pandas as pd
import numpy as np
import jovian
import matplotlib.pyplot as plt
# importing the csv file(data_set)

path=r'F:\upGrad\PGDM\Main_Course\Statistics\Lending Club Case Study\loan'
loan=pd.read_csv(path+ r'\loan.csv',low_memory=False)
loan
loan.columns
Index(['id', 'member_id', 'loan_amnt', 'funded_amnt', 'funded_amnt_inv',
       'term', 'int_rate', 'installment', 'grade', 'sub_grade',
       ...
       'num_tl_90g_dpd_24m', 'num_tl_op_past_12m', 'pct_tl_nvr_dlq',
       'percent_bc_gt_75', 'pub_rec_bankruptcies', 'tax_liens',
       'tot_hi_cred_lim', 'total_bal_ex_mort', 'total_bc_limit',
       'total_il_high_credit_limit'],
      dtype='object', length=111)
loan=loan.dropna(how='all', axis=1)