SHARE
TWEET

Untitled

a guest Aug 14th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # List of all the columns that will be dropped
  2. dropped_cols = [
  3.     'Unnamed: 0',       # IDs not needed for data analysis
  4.     'id',               # IDs not needed for data analysis
  5.     'member_id',        # IDs not needed for data analysis
  6.     'application_type', # All values homogeneous
  7.     'funded_amnt',      # Values will always be same as loan_amnt
  8.     'url',              # Only available to investors
  9.    
  10.     # These information below are not available before accepting the borrower, so very useless for training or drawing insights
  11.     'debt_settlement_flag_date', 'settlement_status', 'settlement_date', 'settlement_percentage', 'settlement_term',
  12.     'debt_settlement_flag', 'hardship_last_payment_amount', 'hardship_payoff_balance_amount', 'hardship_loan_status',
  13.     'hardship_dpd', 'hardship_length', 'hardship_start_date', 'hardship_end_date', 'hardship_amount', 'deferral_term',
  14.     'hardship_status', 'hardship_reason', 'hardship_type', 'policy_code', 'recoveries', 'out_prncp_inv', 'out_prncp',
  15.     'last_pymnt_d', 'last_pymnt_amnt', 'next_pymnt_d', 'last_credit_pull_d', 'collection_recovery_fee', 'settlement_amount',
  16.     'payment_plan_start_date'
  17. ]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top