Missings.jl
Missings.jl copied to clipboard
Missing value support for Julia
Missings.jl
Convenience functions for working with missing values in Julia
Installation: at the Julia REPL, import Pkg; Pkg.add("Missings")
Maintenance: Missings is maintained collectively by the JuliaData collaborators. Responsiveness to pull requests and issues can vary, depending on the availability of key collaborators.
Project Status
Starting from Julia 1.0, the Missing type and basic related functionality are part of the language.
For documentation see the Julia manual section on missing values.
This package provides additional functionality for working with missing values:
nonmissingtypeto extractTfrom aUnion{T, Missing}typeallowmissinganddisallowmissingto convert betweenVector{T}andVector{Union{T, Missing}}passmissingto wrap a function so that it returnsmissingif any of its positional arguments ismissinglevelsto get the unique values in a vector excludingmissingand in their preferred orderMissings.replaceto wrap a collection in a (possibly indexable) iterator replacingmissingwith another valueMissings.failto wrap a collection in a (possibly indexable) iterator throwing an error ifmissingis encounteredskipmissingsto loop through a collection of iterators excluding indices where any iterators aremissing
Contributing and Questions
Contributions are welcome, as are feature requests and suggestions. Please open an issue if you encounter any problems or would just like to ask a question.