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

Patch to fix pandas warnings about depricated behavior. #174

Merged
merged 21 commits into from
Oct 31, 2024
Merged

Conversation

bmeyers
Copy link
Collaborator

@bmeyers bmeyers commented Oct 31, 2024

This PR addresses a FutureWarning generated by Pandas from line 83 of time_axis_manipulation.py:

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]`

Checklist for PR authors (skip items if you don't have permissions or they are not applicable)

  • Updated or added relevant tests
  • Updated relevant documentation
  • Added relevant label(s)
  • All comments are resolved

@pluflou pluflou merged commit 8636856 into main Oct 31, 2024
5 checks passed
@bmeyers
Copy link
Collaborator Author

bmeyers commented Nov 1, 2024

thank you @pluflou!!

@bmeyers bmeyers deleted the bmeyers-patch-1 branch November 1, 2024 16:19
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