From b8017d805eaed29a60679c6fcae88af6b923de0e Mon Sep 17 00:00:00 2001
From: Alexis Gamelin <alexis.gamelin@synchrotron-soleil.fr>
Date: Fri, 22 Mar 2024 16:38:54 +0100
Subject: [PATCH] [Fix] double_sided_impedance for pandas>=2.X.X

---
 mbtrack2/utilities/misc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mbtrack2/utilities/misc.py b/mbtrack2/utilities/misc.py
index ec7d4ff..c31af03 100644
--- a/mbtrack2/utilities/misc.py
+++ b/mbtrack2/utilities/misc.py
@@ -304,6 +304,6 @@ def double_sided_impedance(impedance):
         except KeyError:
             pass
 
-        all_data = impedance.data.append(negative_data)
+        all_data = pd.concat([impedance.data, negative_data])
         all_data = all_data.sort_index()
         impedance.data = all_data
-- 
GitLab