Articles → Numpy → Sqrt Function In NumpySqrt Function In NumpyIn this article, we will discuss the sqrt function in NumPyPurpose The sqrt function returns the square root of an array.Example import numpy as np arr = [1,4,9,16] print(np.sqrt(np.array(arr)))Output Click to EnlargePosted By - Karan Gupta Posted On - Tuesday, April 2, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
import numpy as np arr = [1,4,9,16] print(np.sqrt(np.array(arr)))
Query/Feedback