我有个问题要问你。在熊猫系列中,哪一个图最能显示结果
filter = genderage['Customer_Gender'] == "F"
genderage[filter]
genderage[filter].describe()
Customer_Age
count 54724.000000
mean 36.168993
std 10.910622
min 17.000000
25% 28.000000
50% 35.000000
75% 43.000000
max 87.000000
Tags:
一个
boxplot
将几乎所有这些信息组合成一个单一的可视化。默认情况下,它不会绘制mean
,但您可以将其添加为带有meanline
和showmeans
的虚线晶须从
max
向min
伸出。虚线是平均值。方框从25%延伸到75%,方框中的实线为中值(50%)。您只是错过了标准偏差和计数,如果需要,可以将其添加为文本相关问题 更多 >
编程相关推荐