Skip to content

Commit

Permalink
add sort=True for future pandas versions (>= 2.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrakenhoff committed Apr 3, 2024
1 parent 0f671ba commit 5b0e56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastas/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ def get_output_series(
for contrib in contribs:
df.append(contrib)

df = concat(df, axis=1)
df = concat(df, axis=1, sort=True)
return df

def _get_response(
Expand Down

0 comments on commit 5b0e56b

Please sign in to comment.