Tyler Breland: DataScience solution

Ehhhh, this will iterate over the cohort group many times for no reason. Prefer something like `group_by` to iterate once instead.