Skip to content

Commit

Permalink
Fix error "Calling int on a single element Series is deprecated"
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Mar 5, 2025
1 parent 26557a2 commit 1e2ee5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/plotly_streamlit.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def hms_to_str(t):
species[1:],
index=0)

df_counts = int(hourly[hourly.index == specie]['All'])
df_counts = int(hourly.loc[hourly.index == specie, 'All'].iloc[0])

fig = make_subplots(rows=1, cols=1)

Expand Down

0 comments on commit 1e2ee5b

Please sign in to comment.