A live bird collage card for your Home Assistant dashboard.
Fix error "Calling int on a single element Series is deprecated"
Alexandre1c592f32a5ae
diff --git a/scripts/plotly_streamlit.py b/scripts/plotly_streamlit.pyindex 84bfb931..6e2d1a00 100755--- a/scripts/plotly_streamlit.py+++ b/scripts/plotly_streamlit.py@@ -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)