Credit risk modeling
Hi,
I am having problem while running the code in the credit risk modeling
loan_data['earliest_cr_line']
0 Jan-85 1 Apr-99 2 1-Nov 3 Feb-96 4 Jan-96 ... 466280 3-Apr 466281 Jun-97 466282 1-Dec 466283 3-Feb 466284 Feb-00 Name: earliest_cr_line, Length: 466285, dtype: object
loan_data['earliest_cr_line_date']= pd.to_datetime(loan_data['earliest_cr_line'], format = '%b-%y')
This above line of code gives error
ValueError: time data '1-Nov' does not match format '%b-%y' (match)
Where as when the instructor runs the above code, he doesn\'t get any error Please watch the video In general pre-processing part in that 2 nd video. The problem is , the instructor used the different data and the data provided to us is different, I have used the split data from drop box. Please provide us the data used by the instructor. Thanks.
1 answers ( 0 marked as helpful)
Anyone has this above issue?