Skip to content

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

Open
pellet wants to merge 1 commit into
NeuroTechX:masterfrom
pellet:fix/pandas2-compat
Open

Fix check_report for pandas >=2.0: Series.iteritems() -> .items()#327
pellet wants to merge 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
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