Skip to content

Fix failing hhs test and address pandas update in delphi_utils #1822

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

Closed
wants to merge 5 commits into from

Conversation

nmdefries
Copy link
Contributor

@nmdefries nmdefries commented Apr 4, 2023

Description

pandas grouped-df sum recently changed from summing only numeric columns by default to summing all columns by default. The result is that string columns are concatenated and kept instead of being dropped, which causes an hhs_hosp test to fail and makes the geomapper return unexpected results. Change all grouped sums in the geomapper to request only numeric columns.

Changelog

Fixes

Addresses #1820 for delphi_utils and hhs_hosp.

@nmdefries nmdefries force-pushed the ndefries/hhs_hosp/test-size-mismatch branch from beec918 to f6d564d Compare April 4, 2023 20:37
@nmdefries nmdefries marked this pull request as ready for review April 4, 2023 20:39
@nmdefries
Copy link
Contributor Author

Superseded by #1825

@nmdefries nmdefries closed this Apr 5, 2023
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