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

Pandas future warning #94

Open
LucaMantani opened this issue Nov 20, 2024 · 0 comments
Open

Pandas future warning #94

LucaMantani opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LucaMantani
Copy link
Collaborator

I get the following warning when running the code, with pandas version 2.2.3:

/Users/luca/Applications/smefit_release/src/smefit/coefficients.py:215: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '[1.0 0 0 0 0 0 0 0 0 0 0]' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
  self._table.iloc[self.is_free, 0] = value

We might want to fix it at some point before it breaks.

@LucaMantani LucaMantani added the bug Something isn't working label Nov 20, 2024
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