根据提供的数据,我们可以从以下几个维度进行核心分析:
数据收集和整理:
计算TOP3品牌小店的销售额占比:
import pandas as pd
# 示例数据
data = {
'brand': ['水星家纺', '幸福格调', '思菲其', '其他'],
'sales': [80000, 60000, 45000, 190000]
}
df = pd.DataFrame(data)
total_sales = df['sales'].sum()
top3_sales = df.iloc[:3]['sales'].sum()
concentration = (top3_sales / total_sales) * 100
print(f'TOP3品牌销售额占比:{concentration:.2f}%')
关联达人/直播/视频数的规模差异:
data = {
'brand': ['水星家纺', '幸福格调', '思菲其'],
'influencers': [5, 8, 6],
'live_streams': [10, 7, 9],
'videos': [20, 25, 30]
}
df = pd.DataFrame(data)
avg_influencers = df['influencers'].mean()
avg_live_streams = df['live_streams'].mean()
avg_videos = df['videos'].mean()
print(f'平均达人数量:{avg_influencers:.2f}')
print(f'平均直播次数:{avg_live_streams:.2f}')
print(f'平均视频数量:{avg_videos:.2f}')
类目偏好分析:
data = {
'brand': ['水星家纺', '幸福格调', '思菲其'],
'bedding': [80, 15, 10],
'wedding': [20, 85, 75],
'other': [0, 0, 15]
}
df = pd.DataFrame(data)
top_categories = df.loc[df['bedding'].idxmax()]['bedding'], \
df.loc[df['wedding'].idxmax()]['wedding'], \
df.loc[df['other'].idxmax()]['other']
print(f'水星家纺主要带货类目:床品 ({top_categories[0]})')
print(f'幸福格调主要带货类目:婚庆用品 ({top_categories[1]})')
动销商品数与直播/视频投放的联动表现:
data = {
'brand': ['水星家纺', '幸福格调', '思菲其'],
'active_products': [20, 30, 15],
'live_streams': [10, 7, 9],
'videos': [20, 25, 30]
}
df = pd.DataFrame(data)
def calculate_efficiency(row):
return row['live_streams'] + row['videos'] / row['active_products
以上分析数据来源:互联岛