Hello Everyone,
I have a function final with arguments x and y. I would like to select y in such a way that months both x and y are equal.
For example:
In the first run, it would be x1+y1 and x2+y2.
Likewise, the 13th run will be x13+y1..... x14+y2.
I would be grateful if you can suggest ton the final code which tried as below.
I find the way you ask the question be quite abstract...
Would it be correct to think that you are trying to filter one dataframe of temperatures to keep only those records with close temperature values to the average temperature values (within month groups) as calculated from a second dataset ?
(putting aside for a moment the question of what you consider to be 'close')