You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting multiple FutureWarnings in swmmio/graphics/profiler.py. FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead. I'll try to fix and submit a PR.
Hi @bemcdonnell, yes it's pandas related, I believe since Pandas 2.0. There's an issue on the pandas-dev repo related to it here pandas-dev/pandas#51101
Getting multiple FutureWarnings in swmmio/graphics/profiler.py.
FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead
. I'll try to fix and submit a PR.Affected lines:
swmmio/graphics/profiler.py:35
swmmio/graphics/profiler.py:47
swmmio/graphics/profiler.py:57
swmmio/graphics/profiler.py:90
swmmio/graphics/profiler.py:94
swmmio/graphics/profiler.py:139
swmmio/graphics/profiler.py:140
swmmio/graphics/profiler.py:147
swmmio/graphics/profiler.py:148
swmmio/graphics/profiler.py:149
swmmio/graphics/profiler.py:277
swmmio/graphics/profiler.py:281
swmmio/graphics/profiler.py:301
swmmio/graphics/profiler.py:305
The text was updated successfully, but these errors were encountered: