From 790051996ec61db577d6b48a1a9913360448c3bc Mon Sep 17 00:00:00 2001 From: mfleschutz Date: Wed, 22 May 2024 23:24:21 +0200 Subject: [PATCH] Remove deprecated df.append() --- elmada/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elmada/helper.py b/elmada/helper.py index 55ab566..d3cd597 100644 --- a/elmada/helper.py +++ b/elmada/helper.py @@ -316,7 +316,7 @@ def _append_rows( class_of_df = type(df) line = class_of_df(data=addon_data, index=new_index) # new Series OR Dataframe. - df = df.append(line).sort_index().reset_index(drop=True) + df = pd.concat([df, line]).sort_index().reset_index(drop=True) return df