Created
January 19, 2024 08:47
-
-
Save wibowotangara/e3f91c83c6d968b17c72204befc9e09a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conditions = [ | |
(df['loan_status'].isin(['Fully Paid', 'Does not meet the credit policy. Status:Fully Paid'])), | |
(df['loan_status'].isin(['Charged Off', 'Late (31-120 days)', 'In Grace Period', 'Late (16-30 days)', | |
'Default', 'Does not meet the credit policy. Status:Charged Off'])) | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment