S

Shyam Dubey • 3.70K Points
Extraordinary

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: 1
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey
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.

Be the first to start discuss.