-
Notifications
You must be signed in to change notification settings - Fork 370
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
Use skipmissing() instead of Missings.skip() #1283
Conversation
The latter is deprecated.
eec71a8
to
0e65d03
Compare
julia> Missings.skip(x) | ||
Base.Generator{Base.Iterators.Filter{Missings.##4#6,Array{Union{Int64, Missings.Missing},1}},Missings.##3#5}(Missings.#3, Base.Iterators.Filter{Missings.##4#6,Array{Union{Int64, Missings.Missing},1}}(Missings.#4, Union{Int64, Missings.Missing}[1, 2, missing])) | ||
julia> skipmissing(x) | ||
Missings.EachSkipMissing{Array{Union{$Int, Missings.Missing},1}}(Union{$Int, Missings.Missing}[1, 2, missing]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the online manual, it doesn't look like $Int
was correct here.
@cjprybol Do you know how we're supposed to handle this kind of situation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The $Int
is necessary to get tests to pass on 32 & 64 bit, but it won't work because the $Int
is within the triple-backtick code block? Is that the issue?
Yes. Do you know of any solution? |
I don't offhand, but I'll see if I can find one |
Couldn't think of anything better than just switching the tests to Floats, but I guess that'll do the job, right? See #1299 |
The latter is deprecated.