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

Use SentinelVector rather than Vector{T, Missing}? #21

Open
nickrobinson251 opened this issue Sep 30, 2021 · 1 comment
Open

Use SentinelVector rather than Vector{T, Missing}? #21

nickrobinson251 opened this issue Sep 30, 2021 · 1 comment
Labels
idea needs some investigation before we decide

Comments

@nickrobinson251
Copy link
Owner

nickrobinson251 commented Sep 30, 2021

see https://github.com/JuliaData/SentinelArrays.jl

@nickrobinson251 nickrobinson251 added the idea needs some investigation before we decide label Oct 26, 2021
@nickrobinson251
Copy link
Owner Author

nickrobinson251 commented Nov 14, 2021

there are a lot of Union{T,Missing} columns where either all the data is missing or all the data is of type T, but there should never be a mix of Ts and Missings. These would be good candidates for SentintelVectors, so that (when the data is not missing) users can get a Vector{T} without having to make a copy of the data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea needs some investigation before we decide
Projects
None yet
Development

No branches or pull requests

1 participant