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

Seaside/SLC CGE FutureWarnings #501

Open
ylyangtw opened this issue Feb 22, 2024 · 0 comments
Open

Seaside/SLC CGE FutureWarnings #501

ylyangtw opened this issue Feb 22, 2024 · 0 comments

Comments

@ylyangtw
Copy link
Contributor

ylyangtw commented Feb 22, 2024

seaside

/opt/homebrew/anaconda3/envs/jupyter310/lib/python3.10/site-packages/pyincore/analyses/seasidecge/seasidecge.py:801: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead
  DEPR = float((SAM.loc[IG, ["INVES"]].sum(0)) / (KS0.loc[K, IG].sum(1).sum(0)))
/opt/homebrew/anaconda3/envs/jupyter310/lib/python3.10/site-packages/pyincore/analyses/seasidecge/seasidecge.py:845: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead
  DEPR = float((SAM.loc[IG, ["INVES"]].sum(0)) / (KS0.loc[K, IG].sum(1).sum(0)))

slc

/opt/homebrew/anaconda3/envs/jupyter310/lib/python3.10/site-packages/pyincore/analyses/saltlakecge/saltlakecge.py:770: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead
  DEPR = float((SAM.loc[IG, ["INVES"]].sum(0)) / (KS0.loc[K, IG].sum(1).sum(0)))
@ylyangtw ylyangtw changed the title Seaside CGE FutureWarning Seaside/SLC CGE FutureWarnings Feb 22, 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

1 participant