S

Sikhar Chaudhary • 5.88K Points
Tutor III

Q. Which method is used to calculate the cumulative maximum in a Series or DataFrame?

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

Explanation by: Sikhar Chaudhary
cummax() returns the cumulative maximum of the values over rows or columns.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics