访问次数
我的另一个总结性博客: todototry 大米粒

淘宝购物数据统计分析

淘宝上的本校同学的购物数据统计(单位是:万元):

#本校男生的消费:男士衣物188万元,女士衣物(女士精品)145万元,其他:92.7万元。  其中高达145万元的消费竟然是购买女士精品。。。
>>> man_exp = {"cloth":188.,"forwomen":145.,"others":92.7} 
#女生的消费:女士衣服(女士精品),鞋子,其它
>>> women_exp = {"cloth":560.,"shoes":189.,"others":122.}
>>> man_total = sum(man_exp.values())
>>> women_total = sum(women_exp.values())
>>> man_total = sum(man_exp.values())
>>> women_total = sum(women_exp.values())

#假定本校男士不是异装癖的变态。。。。计算男生实际消费量占总量的百分比。
>>> (man_total-man_exp["forwomen"])/(man_total+women_total)
0.21647258425233282

从结果可以看出,79%的消费都再女人身上。二八定律再次显灵!!得女性市场才是真正的市场啊。

 

 

posted @ 2013-12-10 14:12  fandyst  阅读(1653)  评论(0编辑  收藏  举报