Creating new dataframe with averages

Hello,

I actually have some experience with RavenPro :slight_smile: . Can you provide some example data with your code? That will just make it much easier to troubleshoot and see what's happening. See here on how to make a reprex: FAQ: How to do a minimal reproducible example ( reprex ) for beginners