I have a dataframe which i need to check if it has negative values, if yes then i want to get out of a loop inside which i'll be doing other manipulations. I searched a lot but could only get answers which tried to manipulate the original dataframe or to create a new dataframe removing the negative values. I just want to include this check in an if condition and not a loop.
Thanks in advance