基于提供的数据和分析维度,我们可以对这50个品牌的小店进行深入分析。下面是对每个维度的具体分析方法及结果:
计算TOP3品牌的销售额占比:通过计算前三大品牌的总销售额占所有店铺总销售额的比例。
top_3_brands = sorted(stores, key=lambda x: x['sales'], reverse=True)[:3]
total_sales = sum(store['sales'] for store in stores)
top_3_sales = sum(store['sales'] for store in top_3_brands)
concentration = (top_3_sales / total_sales) * 100
结果:假设计算结果显示前三大品牌的销售额占比为52%,说明品牌集中度较高,可以考虑进一步挖掘这些强势品牌的潜力。
统计每个品牌关联的达人、直播和视频的数量:
from collections import defaultdict
# 创建一个字典来存储每个品牌在各个渠道的数量
channel_distribution = defaultdict(lambda: {'influencers': 0, 'livestreams': 0, 'videos': 0})
for store in stores:
brand = store['brand']
influencers = store['influencers']
livestreams = store['livestreams']
videos = store['videos']
channel_distribution[brand]['influencers'] += len(influencers)
channel_distribution[brand]['livestreams'] += len(livestreams)
channel_distribution[brand]['videos'] += len(videos)
结果:通过分析可以得出各个品牌在达人、直播和视频方面的投入情况,例如某个品牌可能更倾向于使用达人的宣传效果更好。
统计各品牌小店中热门的带货类目:
category_distribution = defaultdict(int)
for store in stores:
categories = store['categories']
for category in categories:
category_distribution[category] += 1
# 获取前几个最常出现的类别
top_categories = sorted(category_distribution.items(), key=lambda x: x[1], reverse=True)[:5]
结果:假设结果显示家居日用、家装建材和厨卫家电是最热门的三个带货类目,这些信息可以帮助品牌更精准地定位市场。
分析动销商品数与直播/视频投放的关系:
efficiency = []
for store in stores:
active_skus = store['active_skus']
influencers = len(store['influencers'])
livestreams = len(store['livestreams'])
videos = len(store['videos'])
# 计算动销商品与直播/视频的关联
efficiency.append({
'brand': store['brand'],
'sales': store['sales'],
'active_skus': active_skus,
'influencers': influencers,
'livestreams': livestreams,
'videos': videos,
(active_skus / (influencers + livestreams + videos)) if (influencers + livestreams + videos) > 0 else 0
})
# 按效率排序
efficiency_sorted = sorted(efficiency, key=lambda x: x['efficiency'], reverse=True)
结果:通过计算每个品牌小店的运营效率,可以找出哪些品牌在推广策略上表现更优。
以上分析数据来源:互联岛