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

AppDaemon Log showing lots of : FutureWarning: The behavior of array concatenation with empty entries is deprecated #261

Closed
swests opened this issue Aug 14, 2024 · 1 comment

Comments

@swests
Copy link

swests commented Aug 14, 2024

Describe the bug
AppDaemon Log showing lots of : "FutureWarning: The behavior of array concatenation with empty entries is deprecated" warnings

HA: 2024.7.4
PV_Opt: 3.15.4

To Reproduce
Steps to reproduce the behavior:

  1. Start AppDaemon
  2. Goto the the AppDaemon log

Expected behavior
No errors/warnings

Screenshots
From AppDaemon Log:

/homeassistant/appdaemon/apps/pv_opt/pv_opt.py:2175: FutureWarning: The behavior of array concatenation with empty entries is deprecated. In a future version, this will no longer exclude empty items when determining the result dtype. To retain the old behavior, exclude the empty entries before the concat operation.
  cost = pd.DataFrame(pd.concat([cost_today, cost])).set_axis(["cost"], axis=1).fillna(0)

Additional context
It's a warning for now, but one for the backlog?

@fboundy
Copy link
Owner

fboundy commented Aug 15, 2024

Yes - should be an easy enough thing to fix.

fboundy added a commit that referenced this issue Aug 15, 2024
@fboundy fboundy mentioned this issue Aug 15, 2024
@fboundy fboundy closed this as completed Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants