Concept

Other Math Functions in NumPy

First, import numpy as np

  • np.sqrt() returns non-negative square root of element
  • np.square() returns square of the element
  • np.absolute() calculates absolute value of the element
  • np.maximum() returns max of all array elements
  • np.minimum() returns minimum of all array elements

0

1

Updated 2021-07-26

Tags

Python Programming Language

Data Science