pd['irr'] = np.where(pd['cs']*0.63 > pd['irr'], 1.0, 0.0)
df['result'] = np.where(df1['col1'] > df1['col2'], 1, 0)