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 pandas and pytest deprecation warnings #346

Merged
merged 1 commit into from
Jan 23, 2024
Merged

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Jan 23, 2024

Changes indexing of dataframes and series to be in line with the latest pandas deprecation warnings, e.g. avoid chnaged indexing like df[col][row] and use df.loc[row, col] instead.

It also avoids using pytest.warns(None, ...) as this is also marked as deprecated by pytest.

@hagenw hagenw changed the title Fix pandas deprecation warnings Fix pandas and pytest deprecation warnings Jan 23, 2024
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (12ad852) 100.0% compared to head (bee2928) 100.0%.
Report is 1 commits behind head on main.

Additional details and impacted files
Files Coverage Δ
audb/core/load.py 100.0% <100.0%> (ø)

@hagenw hagenw merged commit ed34c1f into main Jan 23, 2024
9 checks passed
@hagenw hagenw deleted the fix-deprecation-warnings branch January 23, 2024 11:42
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.

1 participant