df_bank['Gender'].replace("Female", 0, inplace = True) df_bank['Gender'].replace("Male", 1, inplace=True)