I have a dataframe that has 4 columns: UID, Date, Type, and Value as such:
UID Date Type Value 50 2020-12-01 3 15 50 2020-12-01 2 13