Skip to content

Commit

Permalink
fix_future_warning (#10)
Browse files Browse the repository at this point in the history
* fix_future_warning

---------

Co-authored-by: pascalgutjahr <[email protected]>
  • Loading branch information
pascalgutjahr and pascalgutjahr authored Oct 22, 2024
1 parent e2e26e8 commit f2d0832
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dnn_reco/data_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,14 @@ 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(
Expand Down

0 comments on commit f2d0832

Please sign in to comment.