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

Adjust groupby operators to align with new pandas version #111

Open
CBROWN-ONS opened this issue Aug 31, 2023 · 1 comment · May be fixed by #116
Open

Adjust groupby operators to align with new pandas version #111

CBROWN-ONS opened this issue Aug 31, 2023 · 1 comment · May be fixed by #116

Comments

@CBROWN-ONS
Copy link
Collaborator

Description

As of pandas 2.1.0, warnings are now raised when using 'groupby'. These warnings are associated with using np.min, np.max, np.mean and np.median. The advised method is to now simply use 'mean', 'median', etc in the groupby.

Image

@CBROWN-ONS
Copy link
Collaborator Author

Some further information on the warnings generated:
Issue log on pandas github

Image of description on Pandas 2.1.0 changelog
image

@CBROWN-ONS CBROWN-ONS linked a pull request Sep 1, 2023 that will close this issue
11 tasks
@CBROWN-ONS CBROWN-ONS linked a pull request Sep 1, 2023 that will close this issue
11 tasks
@CBROWN-ONS CBROWN-ONS self-assigned this Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant