Julia Programming Language
Remove the redundant element type without coping the source data
New to Julia
uniment
November 2, 2022, 6:49am
2
Vector{Int}(Union{Missing, Int}[1, 2, 3])
Edit: Oops, missed that you wanted in-place.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Get rid of Missing in eltype
General Usage
6
706
February 22, 2019
Adding two Array{Union{Missing,Float64}} returns Array{Float64}, is this by design?
Internals & Design
arrays
,
missing-values
32
1446
October 10, 2021
Eltypes of `view`s
Performance
eltype
10
653
August 2, 2021
Change type from Any to actual types
General Usage
14
1415
December 13, 2020
Avoiding a copy after removing missings from a vector
General Usage
copy
,
missing-values
9
177
July 19, 2025