Fix error "Calling int on a single element Series is deprecated"

This commit is contained in:
Alexandre
2025-03-05 07:23:18 +01:00
committed by Nachtzuster
parent 3c91627e96
commit 1c592f32a5
+1 -1
View File
@@ -377,7 +377,7 @@ if daily is False:
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)