From 3a2e7371a9bb8c25b16b0305c42fff0b1a6f513f Mon Sep 17 00:00:00 2001
From: Stephane Chavin <stephane.chavin@lis-lab.fr>
Date: Thu, 30 Jan 2025 17:14:41 +0100
Subject: [PATCH] add

---
 get_train_annot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/get_train_annot.py b/get_train_annot.py
index 0ebe287..3f556fa 100755
--- a/get_train_annot.py
+++ b/get_train_annot.py
@@ -36,7 +36,7 @@ def main(entry, arguments, species_list):
         0, file_duration, arguments.duration - arguments.overlap)
     grp = utils.split_annotations(
         grp, arguments.duration)
-    grp = pd.reset_index(drop=True)
+    grp = grp.reset_index(drop=True)
     while len(grp) != 0:
         # collect all the data between the offset and duration-overlap
         if len(offset_list) >= 1:
-- 
GitLab