Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

average python

import numpy as np
values=[1,10,100]
print(np.mean(values))
values=[1,10,100,np.nan]
print(np.nanmean(values))
 
PREVIOUS NEXT
Tagged: #average #python
ADD COMMENT
Topic
Name
1+5 =