I try to calculate some stats for a list. But somehow these are not correct: Code: import pandas as pd
import statistics
list_runs_stats=[4.149432, 3.133142, 3.182976, 2.620959, 3.200038, 2.66668, 2.604444, 2.683382, 3.249564, 3.149947]
list_stats=pd.Series(list_runs_stats).describe()
print (list_stats.mean())
print (list_stats.min())
print (list_stats.max())
print (list_stats.median())
print (list_stats.count())
Result:
3.6617099664905832
0.467574831924664
10.0
3.10280045
8
I think min, max and count is quite obvious that it is not correct. Excel gives me mean: 3.0640564 and median:3,1415445
What I am doing wrong?