Cumulative Sum, downsampling #2853
Unanswered
andre-merzky
asked this question in
Q&A
Replies: 2 comments 1 reply
-
We don't have cumulative sum functionality yet, this needs to be implemented. As for downsampling, there are 2 alternatives:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Cumulative sum functionality would be a very welcome addition for me too. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
thanks for this module - we are really happy how datatables handles our reasonably large data sets! I do have two questions though:
I have a column
A
of integers (positive and negative), and would like to add a columnB
with the commulative sum of those numbers. So, ifA = [1, 2, 4, -4, 2]
, then I want to addB = [1, 3, 7, 3, 5]
. How would I go about that?how would I downsample a column? Assume I have a table
A
with two columns of one million entries and want to derive a tableB
which has the same two columns with 1000 entries, where each entry is the average / max / mean / ... of the original table. I am not even sure if I am phrasing that question the right way: essentially I want to reduce the raw data to a size which can be plotted.Many thanks for your time and effort!
Andre.
Beta Was this translation helpful? Give feedback.
All reactions