标签:bar turn nbsp 相关 value rgs hal dice pen
1 分布分析
1 极差 写个函数就行
def d_range(df,*args)
2 定量用直方图
1)直接用plot.hist()
2)s = pd.cut()
return indices of half-open bins to which each value of `x` belongs. 这个方法感觉 就在手动绘制直方图会用到,可能以后类似相关的也会用到
s_count = s.value_counts()
s_count_df = pd.DataFrame(s_count)
s_count_df[‘频率‘] / [ ‘ 累计频率‘] / [ ‘ 累计频数 ‘]
s_count_df[‘‘].bar
3 定性 用饼图
标签:bar turn nbsp 相关 value rgs hal dice pen
原文地址:https://www.cnblogs.com/654321cc/p/11910760.html