text_plain_output_1.png
from scipy import stats

avg_weights = [33, 34, 35, 36, 32, 28, 29, 30, 31, 37, 36, 35, 33, 34, 31, 40, 24]

stats.ttest_1samp(avg_weights, 35)

avg_weights1 = [29, 31, 28, 33, 31, 34, 32, 20, 32, 28, 27, 26, 30, 31, 34, 30]

stats.ttest_ind(avg_weights, avg_weights1)