0

I have a dataframe which contains 7800 rows and 2 columns. The columns are loan type and outstanding value. I am looking to print a dataframe which will provide me the loan types and the outstanding.

Loan_Type   Outstanding_Value
Home Loan   $500000
Auto Loan   $3000 
Home loan   $300000
Over Draft  $10000
Home Loan   $100000

I tried using,

result=df['Loan_Type'].unique(),df['Outstanding_Value'].sum()
ALollz
  • 57,915
  • 7
  • 66
  • 89

0 Answers0