Skip to content

Commit

Permalink
Fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurie Germishuys committed Nov 22, 2023
1 parent 950559c commit aaa80c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kso_utils/yolo_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ def custom_class(x):
inplace=True,
)
if len(names) > 0:
total_df.rename({"class_id": "species_name"}, inplace=True)
total_df.rename(columns={"class_id": "species_name"}, inplace=True)
total_df = pd.merge(
total_df,
tracking_df[["tracker_id", "frame_no"]].groupby("tracker_id").first(),
Expand Down

0 comments on commit aaa80c2

Please sign in to comment.