Answers for "numpy meaning in python"

5

numpy example

>>> import numpy as np
>>> a = np.array([0, 1, 2, 3])
>>> a
array([0, 1, 2, 3])
Posted by: Guest on April-21-2020
6

numpy mean

>> import numpy as np 
>> a=[1,2,3,4,5]
>> np.mean(a)
3.0
Posted by: Guest on June-27-2020

Python Answers by Framework

Browse Popular Code Answers by Language