From ad676566d9ee7c8b0b5e94797ea60db2a131d06e Mon Sep 17 00:00:00 2001 From: pascalgutjahr Date: Fri, 18 Oct 2024 18:18:28 +0200 Subject: [PATCH] fix_future_warning --- dnn_reco/data_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnn_reco/data_handler.py b/dnn_reco/data_handler.py index d78efc7..8959044 100644 --- a/dnn_reco/data_handler.py +++ b/dnn_reco/data_handler.py @@ -291,7 +291,7 @@ def read_icecube_data( size = len(_time_range["Event"]) eventIDDict = {} for row in _time_range.iterrows(): - eventIDDict[(row[1][0], row[1][1], row[1][2], row[1][3])] = row[0] + eventIDDict[(row[1].iloc[0], row[1].iloc[1], row[1].iloc[2], row[1].iloc[3])] = row[0] # Create arrays for input data x_ic78 = np.ones(