I'm quite new to coding and working on a project where I am modifying a few dataframes.
Now I have a dataframe containing a few a columns where one column called Check has a value of either True or False. This value is given based on a formula that is also in the code
What I want to achieve is that another column called Price will add + 1 until column Check is True
I have tried the following lines of code of none of them worked.
df['Price'] = df['Price'].apply(lambda x: +1 if x == False)
i = df['Check']
while i == False:
    df = df['Price'] =+ 1
df['PRICE'] = df.ix[df.Check.isin(False), 'PRICE'] = +1
I hope someone can help me out
 
     
    