I have this function (to insert in any dataframe a "new/returning" if the timestamp of the event was performed by a user that was in the first 7 days after the fir