Introduction to Statistics in Python
Maggie Matsui
Content Developer, DataCamp
The field of statistics - the practice and study of collecting and analyzing data
A summary statistic - a fact about or summary of some data
The field of statistics - the practice and study of collecting and analyzing data
A summary statistic - a fact about or summary of some data
Instead...
But...
What percent of people drive to work?
1
/0
)1
, 2
, ...)1
)2
)3
)4
)5
)import numpy as np
np.mean(car_speeds['speed_mph'])
40.09062
demographics['marriage_status'].value_counts()
single 188
married 143
divorced 124
dtype: int64
Introduction to Statistics in Python