I have a python Dataframe, which consists of 2000 rows (each row represents a day). Then, I tried to use a for-loop to loop over the Dataframe[0:252] and calculate some sign