根据提供的数据,我们可以从以下几个维度进行分析:
短视频引流占比与销售额的相关性
TOP3直播的引流人次占比
高引流占比直播的带货类目分布
粉丝数与引流能力的关系
import pandas as pd
# 假设数据在DataFrame df中
df = pd.read_csv('livestream_data.csv')
# 1. 计算单位流量转化率
df['单位流量转化率'] = (df['销售额'] / df['引流人次']) * 1000
# 2. 计算TOP3引流占比
top3 = df.nlargest(3, '引流人次')
top3_total = top3['引流人次'].sum()
total = df['引流人次'].sum()
top3引流占比 = (top3_total / total) * 100
# 3. 分析高引流占比直播的带货类目分布
category_conversion = df.groupby('品类')['单位流量转化率'].mean().reset_index()
# 4. 粉丝数与引流能力关系
import matplotlib.pyplot as plt
plt.scatter(df['粉丝数量'], df['引流人次'])
plt.xlabel('粉丝数量')
plt.ylabel('引流人次')
plt.title('粉丝数量与引流能力的关系图')
# 显示图形
plt.show()
以上分析数据来源:互联岛