Skip to content

Fix check_report for pandas >=2.0: Series.iteritems() -> .items() - #327

Merged
pellet merged 1 commit into
NeuroTechX:masterfrom
pellet:fix/pandas2-compat
Aug 9, 2026
Merged

Fix check_report for pandas >=2.0: Series.iteritems() -> .items()#327
pellet merged 1 commit into
NeuroTechX:masterfrom
pellet:fix/pandas2-compat

Conversation

@pellet

@pellet pellet commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

Series.iteritems() was deprecated in pandas 1.5 and removed in 2.0. .items() yields the same (index, value) pairs.

Series.iteritems() was deprecated in pandas 1.5 and removed in 2.0. .items()
yields the same (index, value) pairs and has existed since well before the
project's pandas>=1.1.4 floor, so it works on both old and new pandas.

This was the only pandas-2.0-incompatible call in the package: .iterrows() is
unaffected (not removed), and the .append() uses are all on lists / np.append.
@pellet
pellet marked this pull request as ready for review June 7, 2026 12:54
@pellet
pellet merged commit be86635 into NeuroTechX:master Aug 9, 2026
14 of 15 checks passed
@pellet
pellet deleted the fix/pandas2-compat branch August 9, 2026 01:43
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