小编Xia*_*ang的帖子

kde plot : UserWarning: 数据集有 0 方差;跳跃密度估计

当我试图通过 seaborn 绘制 kdeplot 时,出现了一个错误:

“用户警告:数据集有 0 方差;跳过密度估计”

我不明白这是什么意思。我发现如果我对 x 轴和 y 轴进行了 distplot,也没有 kde 曲线。

with sns.axes_style('white'):
        plot = sns.jointplot(x='Latitude', y='Longitude', data=df, kind="kde", space=0.7, bw_adjust=3)
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题??

python matplotlib pandas seaborn

5
推荐指数
1
解决办法
5073
查看次数

标签 统计

matplotlib ×1

pandas ×1

python ×1

seaborn ×1