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

Support filter for SkipMissing-wrapped arrays #31235

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

ararslan
Copy link
Member

@ararslan ararslan commented Mar 2, 2019

See discussion in #31188. This makes filter(f, skipmissing(x)) eagerly return an array similar to the wrapped array but with missing values and !f(xi) elements removed.

@ararslan ararslan added arrays [a, r, r, a, y, s] missing data Base.missing and related functionality labels Mar 2, 2019
@ararslan ararslan requested a review from nalimilan March 2, 2019 22:33
NEWS.md Outdated Show resolved Hide resolved
@ararslan ararslan force-pushed the aa/filter-skipmissing branch from 6b4394d to 96b3a39 Compare March 2, 2019 23:30
Copy link
Member

@nalimilan nalimilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, but maybe this should go through triage?

base/missing.jl Outdated Show resolved Hide resolved
test/missing.jl Outdated Show resolved Hide resolved
test/missing.jl Outdated Show resolved Hide resolved
See discussion in issue 31188.
@ararslan ararslan force-pushed the aa/filter-skipmissing branch from 96b3a39 to ad218bc Compare March 3, 2019 20:43
@ararslan ararslan requested a review from JeffBezanson March 5, 2019 18:58
@ararslan ararslan added the triage This should be discussed on a triage call label Mar 7, 2019
@JeffBezanson JeffBezanson merged commit b3c0299 into master Mar 7, 2019
@JeffBezanson JeffBezanson deleted the aa/filter-skipmissing branch March 7, 2019 18:21
@JeffBezanson JeffBezanson removed the triage This should be discussed on a triage call label Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s] missing data Base.missing and related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants