CBSE Class 12 Informatics Practices
Question 56 of 101
Python Pandas — II — Question 11
Back to all questionsFalse
Reason — The function sum() returns the sum of the values for the requested axis. On the other hand, cumsum() calculates the cumulative sum. In the output of this function, the value of each row is replaced by the sum of all prior rows, including this row.