I am new to writing loops and have been trying hard to figure this out myself.
I have a dataframe where a unique threshold needs to be applied over each column indivi