Skip to content

Conversation

@rxu17
Copy link
Contributor

@rxu17 rxu17 commented Oct 31, 2025

Problem:

We ran into an error with 19.4 consortium release at the dashboard update step where it calls DataFrame.append but since we upgraded to pandas 2.3.1, that method is now deprecated since ~pandas 2.0.

See release notes for 2.0

Removed deprecated Series.append(), DataFrame.append(), use concat() instead

JIRA Ticket: https://sagebionetworks.jira.com/browse/GEN-2375

Solution:

Swap to using pd.concat. Note that this will be a PR to main so we can finish the consortium release.

Testing:

  • Unit tests pass
  • There is unfortunately no staging or testing mode for the dashboard updater because we don't have many of those tables yet

@rxu17 rxu17 requested a review from a team as a code owner October 31, 2025 22:10
@rxu17 rxu17 changed the base branch from develop to main October 31, 2025 22:11
Copy link
Member

@thomasyu888 thomasyu888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 LGTM!

@sonarqubecloud
Copy link

@rxu17 rxu17 changed the title [GEN-2375] Replace depecated DataFrame.append with pandas.concat [GEN-2375] Replace deprecated DataFrame.append with pandas.concat Oct 31, 2025
@rxu17 rxu17 merged commit a1fda61 into main Oct 31, 2025
11 checks passed
@rxu17 rxu17 deleted the gen-2375-remove-append branch October 31, 2025 23:10
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.

3 participants