I would like to know if I can know the previous value of a column and
depending on whether it meets the condition, label them. For example,
for January 13 I put all those records an identifier 1, and for all
records with the date of January 14 the id...