集成警告:使用Seaborn时检测到舍入错误的发生

2024-09-27 23:26:47 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用Seabornkdeplot绘制数据的累积分布图。每个数据帧大约有150万行长。我把它们连接成一个大数据帧。在

当我试图绘制它们时,我得到以下警告:

IntegrationWarning: The occurrence of roundoff error is detected, which prevents the requested tolerance from being achieved.  The error may be underestimated 
warnings.warn(msg, IntegrationWarning)
/home/my_computer/anaconda3/lib/python3.7/site-packages/scipy/integrate/quadpack.py:385

当我只连接三个数据帧时,它就起作用了,图显示出来了。但当我把10连在一起时,我得到了警告。在

下面是我打给kdeplot的一个示例:

^{pr2}$

有办法解决这个问题吗?在

对数据帧进行采样以使用较少的行是否有效?在


Tags: ofthe数据警告whichis分布图绘制

热门问题