# Data Distribution
# project structure
+-- DS
| +-- basic-graph.ipynb
| +-- data-distribution.ipynb
| +-- teacher_score.py
1
2
3
4
2
3
4
teacher_score.py
teacher_1 = [ ... ]
teacher_2 = [ ... ]
1
2
2
data-distribution.ipynb
from teacher_score import teacher_1, teacher_2
print(len(teacher_1))
print(len(teacher_2))
1
2
3
2
3
500
500
mean_teacher_1 = sum(teacher_1)/len(teacher_1)
mean_teacher_2 = sum(teacher_2)/len(teacher_2)
print(mean_teacher_1)
print(mean_teacher_2)
1
2
3
4
2
3
4
7.008219999999996
6.750539999999995
import matplotlib.pyplot as plt
plt.hist(teacher_1)
1
2
2
plt.hist(teacher_2)
1