Combine list elements according to common dataframe value
问题 A followup to this question here, even though the example is specific, this seems like a generalizable application, so I think it's worth a separate thread: The general question is: How do I take elements in a list that correspond to a value in an original data frame and combine them according to that value in the original data frame, especially when the elements of the list are of different length? In this example, I have a dataframe that has two groups, each sorted by date. What I