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] Deprecated function use: clip_upper() #139

Open
smartie2076 opened this issue Oct 21, 2020 · 1 comment
Open

[Bug] Deprecated function use: clip_upper() #139

smartie2076 opened this issue Oct 21, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@smartie2076
Copy link
Collaborator

smartie2076 commented Oct 21, 2020

A user downloaded the MVS and now has a depreciation issue:

D:\PycharmProjects\offgridders\src\G2b_constraints_custom.py:422: FutureWarning: clip_upper(threshold) is deprecated, use clip(upper=threshold) instead
  ratio_below_zero = ratio.clip_upper(0)

We need to follow up on which branch this occurs.

@smartie2076 smartie2076 added the bug Something isn't working label Oct 21, 2020
@smartie2076 smartie2076 self-assigned this Oct 21, 2020
@smartie2076
Copy link
Collaborator Author

The issues only occurs if the pandas version from the requirements.txt file is not used, ie. if the local package is a version released after pandas==0.23.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant