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

[Bug] Deprecation Warning: The default value of numeric_only in DataFrameGroupBy.sum is deprecated. In a future version, numeric_only will default to False. #4686

Closed
deeleeramone opened this issue Apr 5, 2023 · 1 comment · Fixed by #4701
Assignees
Labels
bug Fix bug

Comments

@deeleeramone
Copy link
Contributor

This particular error came from:

2023 Apr 04, 23:17 (🦋) /stocks/gov/ $ lastcontracts

/Users/danglewood/GitHub/OpenBBTerminal/openbb_terminal/stocks/government/quiverquant_view.py:284: FutureWarning:

The default value of numeric_only in DataFrameGroupBy.sum is deprecated. In a future version, numeric_only will default to False. Either specify numeric_only or select only columns which should be valid for the function.

however, there are likely others which will be affected. The solution will be to add numeric_only = True to the syntax.

@tehcoderer
Copy link
Contributor

Fixed in #4701

tehcoderer added a commit that referenced this issue Apr 6, 2023
* init

* Update options_sdk_helper.py

* Update stocks_helper.py

* Update ta_class.py

* Update ta_class.py

* tests

* tests LF
@tehcoderer tehcoderer linked a pull request Apr 6, 2023 that will close this issue
jmaslek pushed a commit that referenced this issue Apr 13, 2023
* init

* Update options_sdk_helper.py

* Update stocks_helper.py

* Update ta_class.py

* Update ta_class.py

* tests

* tests LF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants