3

I have a dataframe like this:

Entry    Frequency
A        20
B        10
C        15

I want to create a third dataframe which is a cumulative frequency that is the summation of frequency counts of respective previous frequency column entries

Entry    Frequency   Cumulative Frequency
A        20            20
B        10            30
C        15            65

Any clue how to achieve this?

Trenton McKinney
  • 56,955
  • 33
  • 144
  • 158
IronMaiden
  • 552
  • 4
  • 20

0 Answers0