Array Methods and Attributes

Let’s learn about important methods and attributes that are commonly used in NumPy arrays.

Array methods

The following are a few methods that we can use with NumPy arrays:

  • reshape()
  • max()
  • min()
  • argmax()
  • argmin()

Let’s create two arrays using arange() and randint() methods for hands-on training.

Get hands-on with 1200+ tech skills courses.