Skip to content

Commit

Permalink
Fix future warnings from Pandas
Browse files Browse the repository at this point in the history
Closes #229
  • Loading branch information
schroedtert committed Oct 12, 2023
1 parent 91a6d6c commit ccd2ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pedpy/methods/method_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ccd2ef1

Please sign in to comment.