Skip to content

veeragouda/stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

stats

finding mean , mode and median

import numpy as np from scipy import stats data = np.array([4,5,1,2,7,2,6,9,3]) dt_mean = np.mean(data) ; print ("Mean :",round(dt_mean,2)) dt_median = np.median(data) ; print ("Median :",dt_median) dt_mode = stats.mode(data); print ("Mode :",dt_mode[0][0])

About

finding mean , mode and median

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published