Skip to content

fix: pandas 2.2+ SettingWithCopyWarning compatibility#1219

Merged
Jammy2211 merged 1 commit intomainfrom
feature/pandas-2.2-compat
Apr 14, 2026
Merged

fix: pandas 2.2+ SettingWithCopyWarning compatibility#1219
Jammy2211 merged 1 commit intomainfrom
feature/pandas-2.2-compat

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

  • pandas.errors.SettingWithCopyWarning was removed in pandas 2.2. Guard the import in nest_plotters.py so it degrades gracefully on modern pandas.

Test plan

  • Tests workflow passes on the matrix

pandas 2.2 removed `pandas.errors.SettingWithCopyWarning`, which broke
nest_plotters import on modern pandas. Guard the import so the warning
filter is only applied when the class exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 73cb28c into main Apr 14, 2026
2 checks passed
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