import numpy as np
import matplotlib.pyplot as plt
age = [23,23,27,27,39,41,47,49,50,52,54,54,56,57,58,58,61]
fat = [9.5,26.5,7.8,17.8,31.4,25.9,27.4,27.2,31.2,34.6,42.5,28.8,33.4,30.2,34.1,23.9,35.7]
plt.xlabel("age")
plt.ylabel("value")
plt.boxplot(age,sym="o",whis=1.5)
plt.show()
plt.xlabel("fat")
plt.ylabel("value")
plt.boxplot(fat,sym="o",whis=1.5)
plt.show()
(
You can't cling to the past, because no matter how tightly you hold on, it's already gone. --《How I Met Your Mother》
)