0

Can someone please help me? I want to create a new column that contains the month and year only, but python is giving me an error, I tried using .loc too and It still doesn't work.

df_default= df[df['payment_code']=='DEFAULT']
df_default

enter image description here

0 Answers0