Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix_future_warning #10

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading