S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which pandas method returns the cumulative sum over a DataFrame or Series?

  • (A) cumsum()
  • (B) sum()
  • (C) cumprod()
  • (D) cummulative()
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category Pandas

Explanation by: Sikhar Chaudhary
The cumsum() method returns a cumulative sum of the elements along a DataFrame axis or a Series.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics