statsmodels.graphics.tsaplots.plot_pacf
Theoretically, the parameter of this function should be :`min(nobs//2-1, np.ceil(10*np.log10(nobs)))`.
But actually, it's written as `np.ceil(10*np.log10(nobs))`.
Therefore, this may lead to ValueError: Can only compute partial correlations for lags up to 50% of the sample size.