Talk about a self fulfilling prophecy!!
I've noticed that duplicate entries have started to appear in my data feed, which are creating errors in a 7 day rolling average calculation.
So I'm getting now something like;
[{
"x": 1591315200000,
"y": 8
}, {
"x": 1591315200000,
"y": 8
}, {
"x": 1591315200000,
"y": 8
}, {
"x": 1591228800000,
"y": 30
}]
So 3 of the 4 entries are identical, and I need just a unique entry for each timestamp, like;
[{
"x": 1591315200000,
"y": 8
}, {
"x": 1591228800000,
"y": 30
}]
I've googled, and found several solutions, but not really found one that works.
Is there an easy way to filter out the duplicates?