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

Fix dataframe dtype assignment warnings #46

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Fix dataframe dtype assignment warnings #46

merged 1 commit into from
Mar 12, 2024

Conversation

eleftherioszisis
Copy link
Contributor

Example:

/gpfs/bbp.cscs.ch/project/proj30/tickets/NSETM-1760-wrap-snakemake-with-luigi/workflow-example/emodel-generalisation/emodel_generalisation/adaptation.py:78: FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value 'emodel_1a1afc' has dtype incompatible with float64, please explicitly cast to a compatible dtype first.
  df.loc[i, "emodel"] = emodel

@arnaudon arnaudon merged commit dbcd073 into main Mar 12, 2024
6 checks passed
@arnaudon arnaudon deleted the fix-warnigns branch March 12, 2024 09:59
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

Successfully merging this pull request may close these issues.

2 participants