Skip to content

BUG: NaN should have pct rank of NaN #22634

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

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Sep 8, 2018

Backport of #22600.

@gfyoung gfyoung added Groupby Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Regression Functionality that used to work in a prior pandas version labels Sep 8, 2018
@gfyoung gfyoung added this to the 0.23.5 milestone Sep 8, 2018
@pep8speaks
Copy link

Hello @gfyoung! Thanks for submitting the PR.

@gfyoung
Copy link
Member Author

gfyoung commented Sep 8, 2018

@jreback @TomAugspurger : Looks like we need to backport #22601 and #21814 too?

@jreback
Copy link
Contributor

jreback commented Sep 8, 2018

@gfyoung yep those CI backport are needed
can u PR?

@gfyoung
Copy link
Member Author

gfyoung commented Sep 8, 2018

@jreback : Yep, sounds good.

@gfyoung gfyoung force-pushed the group-rank-nan-backport branch from d12f1d0 to 349e939 Compare September 11, 2018 18:51
@codecov
Copy link

codecov bot commented Sep 11, 2018

Codecov Report

Merging #22634 into 0.23.x will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           0.23.x   #22634   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files         153      153           
  Lines       49588    49588           
=======================================
  Hits        45543    45543           
  Misses       4045     4045
Flag Coverage Δ
#multiple 90.24% <ø> (ø) ⬆️
#single 41.79% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 183e92f...349e939. Read the comment docs.

@gfyoung
Copy link
Member Author

gfyoung commented Sep 11, 2018

This is a clean backport, and with all tests now passing, going to merge this.

@gfyoung gfyoung merged commit af7b0ba into pandas-dev:0.23.x Sep 11, 2018
@gfyoung gfyoung deleted the group-rank-nan-backport branch September 11, 2018 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Groupby Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants