Numpy #
Create a function which takes that numpy
1-D array as input and returns the following (in the same order as listed):
- Max - Maximum value in the array
- Std - Measure of variation between the elements of an array
- Sum - Value obtained as a result of adding all the elements of an array
- Dot product - Inner product of the vectors
Try to implement the function below. Feel free to view the solution, after giving it a few shots. Good Luck!
Get hands-on with 1400+ tech skills courses.