i have array of data as given below.
i want to get conditional formatting like
i can get it with
np.where. But np.where is continuous checking for next true
> array(['F', 'F', 'F', 'F', 'F', 'T', 'T', 'T', 'F', 'F', 'F', 'F', 'F', 'T'], dtype='<U1')
i want to skip the consecutive True Value like when
a>5 comes to 6 its
True but for 7 also it is
True which i dont want. I want only 1st one.
But also if value drops from 7 to 4 and again rise to 6 then that 6 should be