diff --git a/src/fitter/fitter.py b/src/fitter/fitter.py index 86b5a45..90e7085 100644 --- a/src/fitter/fitter.py +++ b/src/fitter/fitter.py @@ -386,6 +386,7 @@ def fit(self, progress=False, n_jobs=-1, max_workers=-1, prefer="processes"): "ks_pvalue": self._ks_pval, } ) + self.df_errors.sort_index(inplace=True) def plot_pdf(self, names=None, Nbest=5, lw=2, method="sumsquare_error"): """Plots Probability density functions of the distributions