From ccd2ef10064ef2a88bf916a7f5cf6abb0e914d83 Mon Sep 17 00:00:00 2001 From: schroedtert Date: Thu, 12 Oct 2023 15:24:00 +0200 Subject: [PATCH] Fix future warnings from Pandas Closes #229 --- pedpy/methods/method_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pedpy/methods/method_utils.py b/pedpy/methods/method_utils.py index 8d914ad8..2d1b329c 100644 --- a/pedpy/methods/method_utils.py +++ b/pedpy/methods/method_utils.py @@ -805,7 +805,7 @@ def _compute_movememnt_adaptive_border( df_movement = traj_data.data.copy(deep=True) frame_infos = df_movement.groupby(by=ID_COL).agg( - frame_min=(FRAME_COL, min), frame_max=(FRAME_COL, max) + frame_min=(FRAME_COL, "min"), frame_max=(FRAME_COL, "max") ) df_movement = df_movement.merge(frame_infos, on=ID_COL)