I have a dataframe which looks like this:
From this data I have to compute two conditions and assign boolean vslues namely:
Is close > Prev