Posted on:

11 Dec 2024

0

Credit Risk Modeling in Python Course

 Hi, I am taking the Credit Risk course and I am having trouble completing it because of the following:
1 - Dataset uploaded seems to be different than the data used in the videos; therefore; I am spending a lot of time trying to make the code run. For example, this code will give you an error loan_data['earliest_cr_line_date'] = pd.to_datetime(loan_data['earliest_cr_line'], format = '%b-%y') 2 -
2 - There are some code used in the videos that is applicable anymore, for example: loan_data['mths_since_earliest_cr_line'] = round(pd.to_numeric((pd.to_datetime('2017-12-01') - loan_data['earliest_cr_line_date']) / np.timedelta64(1, 'M')))

Please advice, I am enjoying the course and find it very useful.
0 answers ( 0 marked as helpful)

Submit an answer