I'm trying to check if my last close is higher (or lower) then the support or resistince an my dataframe. The problem is that i have a lot of nan values. How can i ignore those values and just check the last integer value of the colum? below just a short line of code to check if the close is below the support. I have added an picture of my dataframe.
df["Close"][-1] < df["Support"][1] and df["Open"][1] < df["Support"][1]:
