## calculates the mean of the non-missing values
mean(skipmissing(v2))
# 3.141592653589793

## collects the non-missing values in an array
collect(skipmissing(v2))
# 1-element Array{Float64,1}:
#  3.14159