Skip to content
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

MAINT, BUG: pandas 2.0 compatibility #912

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

tylerjereddy
Copy link
Collaborator

Fixes #909

Fixes darshan-hpc#909

* make the library compatible with both `pandas 1.5.x` and `pandas
2.0.0rc0` by pinning the dtype we use for one-hot encoding our heatmap
data

* see related upstream comment and release notes (`get_dummies()`
change):
  - pandas-dev/pandas#48022 (comment)
  - https://pandas.pydata.org/pandas-docs/version/2.0/whatsnew/v2.0.0.html
@shanedsnyder
Copy link
Contributor

Thanks for tracking that down!

@shanedsnyder shanedsnyder merged commit 656eaf7 into darshan-hpc:main Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MAINT: test failures with pandas 2.0.0rc0 (pre-release)
2 participants