短视频引流占比与销售额的相关性
引流效果对比
TOP3直播间的引流人次占比
引流人次与销售额的关系
高引流占比直播的带货类目分布
带货类目与销售额的关系
假设我们有一个样本数据集如下:
| 直播间名称 | 短视频引流占比 (%) | 引流人数 (人) | 销售额 (元) | |------------|-------------------|--------------|-------------| | A | 50 | 12,000 | 30,000 | | B | 75 | 8,000 | 60,000 | | C | 40 | 15,000 | 25,000 | | D | 30 | 9,000 | 20,000 |
import matplotlib.pyplot as plt
# 示例数据
data = {
'short_video_ratio': [50, 75, 40, 30],
'sales': [30000, 60000, 25000, 20000]
}
plt.scatter(data['short_video_ratio'], data['sales'])
plt.xlabel('短视频引流占比 (%)')
plt.ylabel('销售额 (元)')
plt.title('短视频引流占比与销售额的关系')
plt.show()
import pandas as pd
# 假设数据集已存在
df = pd.DataFrame({
'short_video_ratio': [50, 75, 40, 30],
'streamer_name': ['A', 'B', 'C', 'D'],
'引流人数 (人)': [12000, 8000, 15000, 9000]
})
# 排序并计算TOP3的引流人数占比
top_3 = df.sort_values(by='引流人数 (人)', ascending=False).head(3)
total引流人数 = df['引流人数 (人)'].sum()
top_3_ratio = top_3['引流人数 (人)'].sum() / total引流人数
print(f'TOP3直播间在总引流人数中的占比: {top_3_ratio:.2%}')
以上分析数据来源:互联岛