We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
declaremissings
MWE
julia> using Impute julia> using CSV # For FixedWidth Strings julia> Impute.declaremissings(String31["Unknown", "adaf"]; values=("Unknown")) 2-element Vector{Union{Missing, String31}}: "Unknown" "adaf"
Desired output:
2-element Vector{Union{Missing, String}}: missing "adaf"
I think the root cause is apply!(..., ::DeclareMissings only replacing values with matching type. As !(String31 <: String) nothing gets replaced.
apply!(..., ::DeclareMissings
!(String31 <: String)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MWE
Desired output:
I think the root cause is
apply!(..., ::DeclareMissings
only replacing values with matching type. As!(String31 <: String)
nothing gets replaced.The text was updated successfully, but these errors were encountered: