I have the following function with for loop:
def add_CQI_iterrows(df): previous_row = df[\'Date\'].astype(str)[0] CQI_index = 0 series = [] f