.
Survival Probability'] = (1-pd) df1 = df.copy() df1['Conditional Default Probability'] = (df1['Unconditional Default Probability']).round(4) df1['Conditional Survival Probability'] = 0.000 for i in range(0, len(df1['Time (years)'])): df1['Conditional Survival Probability'][i] = ((df1['Unconditional