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

Add observed=False to be explicit for Pandas 2.1 #28823

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

caneff
Copy link
Contributor

@caneff caneff commented Oct 4, 2023

Starting with Pandas 2.1, observed=False is deprecated as the default for groupby, and raises warnings when grouping on categoricals. Explicitly set observed=False in these tests to stop that.

@caneff
Copy link
Contributor Author

caneff commented Oct 4, 2023

R: @tvalentyn

@github-actions github-actions bot added the python label Oct 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@caneff
Copy link
Contributor Author

caneff commented Oct 4, 2023

Run Python_Coverage PreCommit

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #28823 (e054ace) into master (2e05211) will decrease coverage by 0.03%.
Report is 15 commits behind head on master.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #28823      +/-   ##
==========================================
- Coverage   72.24%   72.21%   -0.03%     
==========================================
  Files         684      684              
  Lines      101230   101230              
==========================================
- Hits        73133    73105      -28     
- Misses      26521    26549      +28     
  Partials     1576     1576              
Flag Coverage Δ
python 82.76% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 9 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@tvalentyn
Copy link
Contributor

Run Python_PVR_Flink PreCommit

@tvalentyn tvalentyn merged commit 94a579c into apache:master Oct 5, 2023
76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants