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] FutureWarning: Series.__getitem__ treating keys as positions is deprecated #1595

Closed
3 tasks done
lisphilar opened this issue Feb 3, 2024 · 0 comments · Fixed by #1593
Closed
3 tasks done

[Bug] FutureWarning: Series.__getitem__ treating keys as positions is deprecated #1595

lisphilar opened this issue Feb 3, 2024 · 0 comments · Fixed by #1593
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@lisphilar
Copy link
Owner

lisphilar commented Feb 3, 2024

Checkbox

Summary

Tests failed with the following error.

FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`

Reproducible example script

NA

The current outputs

No response

Expected outputs

No response

Environment

- CovsirPhy version: 3.0.0
- Python version: 3.11.0

Package manager (required if installation issue)

No response

Platform (required if installation issue)

No response

Additional Context

No response

@lisphilar lisphilar added bug Something isn't working help wanted Extra attention is needed labels Feb 3, 2024
@lisphilar lisphilar added this to the Release 3.1.0 milestone Feb 3, 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 help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant