Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # List of all the columns that will be dropped
- dropped_cols = [
- 'Unnamed: 0', # IDs not needed for data analysis
- 'id', # IDs not needed for data analysis
- 'member_id', # IDs not needed for data analysis
- 'application_type', # All values homogeneous
- 'funded_amnt', # Values will always be same as loan_amnt
- 'url', # Only available to investors
- # These information below are not available before accepting the borrower, so very useless for training or drawing insights
- 'debt_settlement_flag_date', 'settlement_status', 'settlement_date', 'settlement_percentage', 'settlement_term',
- 'debt_settlement_flag', 'hardship_last_payment_amount', 'hardship_payoff_balance_amount', 'hardship_loan_status',
- 'hardship_dpd', 'hardship_length', 'hardship_start_date', 'hardship_end_date', 'hardship_amount', 'deferral_term',
- 'hardship_status', 'hardship_reason', 'hardship_type', 'policy_code', 'recoveries', 'out_prncp_inv', 'out_prncp',
- 'last_pymnt_d', 'last_pymnt_amnt', 'next_pymnt_d', 'last_credit_pull_d', 'collection_recovery_fee', 'settlement_amount',
- 'payment_plan_start_date'
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement