我有2个数组,一个数组列出了许可证,另一个数组是许可证的到期日期。我尝试写的“ Host License”声明将在到期日到期。我试图让此短语仅列出将在30天内到期的许可证。我还需要匹配数组的每个对象,这意味着LicenceMatch(0)才能匹配ExpirationDate(0)。我认为我需要调整If语句,我应该如何调整它:
print (df)
Debtor_ID Loan_ID Pattern_of_payments On_time_payment 1_29_days_delay \
0 Uncle Sam Loan1 11111AAA11555 7 3
1 Uncle Sam Loan2 11222A339999 2 1
2 Uncle Joe Loan3 1111111111111 13 0
3 Uncle Joe Loan4 111222222233333 3 0
4 Aunt Annie Loan5 1 1 0
5 Aunt Chloe Loan6 555555555 0 0
30_59_days_delay 60_89_days_delay 90_119_days_delay Over_120_days_delay \
0 0 0 0 3
1 3 2 0 0
2 0 0 0 0
3 7 5 0 0
4 0 0 0 0
5 0 0 0 9
Bailiff_prosecution
0 0
1 4
2 0
3 0
4 0
5 0