You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code converts from an Vector{Tuple} to a Vector of first entry of the Tuple. I expected that I can access it like a Vector. However, currently it errors with 'method is ambiguous'. How can I make it work?
tvec = allowmissing([(rand(),rand()) for i=1:6]);
tvec[1] = missing
c = mappedarray(x-> ismissing(x) ? missing : first(x),tvec);
c[1:2]