I have a joint_tabel, after selecting partial table by using certain LOGIN_ID (I give the name 'lenders_table'), I can print the lenders_table well, but when I print the first row of lenders_table, I got the error: " raise KeyError(key) from err, KeyError: 0". I cannot find the reason. Thanks
lenders_table = joint_table.loc[joint_table['LOGIN_ID'] == lender_name]
print(lenders_table)
LOAN_ID ... REPEAT_LOAN
12 351422 ... No
14 350948 ... No
[2 rows x 14 columns]
print(lenders_table.loc[0])
"""err here"""