I have the following dataframe:
actual_credit min_required_credit 0 0.3 0.4 1 0.5 0.2 2 0.4 0
Due to imprecise float comparison you can or your comparison with np.isclose, isclose takes a relative and absolute tolerance param so the following should work:
or
isclose
df['result'] = df['actual_credit'].ge(df['min_required_credit']) | np.isclose(df['actual_credit'], df['min_required_credit'])