I have some code that I am trying to implement on a df called dayData:
dayData
the head of the large dataframe dayData looks like: