Real Python Tutorials

NumPy's max() and maximum(): Find Extreme Values in Arrays
NEW

NumPy's max() and maximum(): Find Extreme Values in Arrays

In this introduction to NumPy, you'll learn how to find extreme values using the max() and maximum() functions. This includes finding the maximum element in an array or along a given axis of an array, as well as comparing two arrays to find the larger element in each index position.

Jan 18, 2025 basics data-science numpy