Interesting, you use the methid chaining syntax at the end for the mat variable. Where did you learn this practice? it is rare and I can discern a proficient coder by the use of this. are you US based?
I was advised to learn the melt function also, is there any rules we should follow to know when to use it?
how does grouping by multiple groups work?
@gustavojuantorena