mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-07-30 20:18:11 +00:00
Use stable sort when sorting values in forecaster (#2568)
This commit is contained in:
parent
e534f76672
commit
50d06860c0
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ class Prophet(object):
|
|||
|
||||
if df.index.name == 'ds':
|
||||
df.index.name = None
|
||||
df = df.sort_values('ds')
|
||||
df = df.sort_values('ds', kind='mergesort')
|
||||
df = df.reset_index(drop=True)
|
||||
|
||||
self.initialize_scales(initialize_scales, df)
|
||||
|
|
|
|||
Loading…
Reference in a new issue