df=pd.read_csv(path)
p_a=((df['fico']>700).sum())/len(df)
print(p_a)
p_b=((df['purpose']=='debt_consolidation').sum())/len(df)
print(p_b)
df1=df[df['purpose']=='debt_consolidation']
p_a_b=(((df['purpose']=='debt_consolidation') &(df['fico']>700)).sum())/len(df)
print(p_a_b)
pAoverB=(p_a*p_a_b)/p_b