3
當我使用sns.kdeplot,讓culmulative = TRUE,則誤差如何使用python的seaborn來繪製CDF?
累積分佈在statsmodels.Please currentlyonly實現安裝statsmodels。
即使我已經安裝statsmodels。
當我使用sns.kdeplot,讓culmulative = TRUE,則誤差如何使用python的seaborn來繪製CDF?
累積分佈在statsmodels.Please currentlyonly實現安裝statsmodels。
即使我已經安裝statsmodels。
從the source code,我們可以看到,所有Seaborn所做的是試圖進口
try:
import statsmodels.nonparametric.api as smnp
_has_statsmodels = True
except ImportError:
_has_statsmodels = False
在模塊級,並應_has_statsmodels
是False
,則_univariate_kdeplot
函數試圖依傍SciPy的,不支持爲此目的的累積分配。
因此,在這裏Seaborn中沒有發生任何模糊現象,您只需從關於statsmodels的安裝或設置問題中獲取ImportError
。
謝謝!我重新啓動我的python,然後它很好。 –