πŸ“Š Pandas
Q. Which method is used to calculate the cumulative maximum in a Series or DataFrame?
  • (A) cummax()
  • (B) max()
  • (C) cumsum()
  • (D) cumprod()
πŸ’¬ Discuss
βœ… Correct Answer: (A) cummax()

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
56
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
80%
Success Rate