I have a DF with several variables. Each variable has 3 trials for each date. In some cases, there were 6 trials for the variable on a specified date. See code for DF: