I was thinking that it would be nice to have a skipmissing keyword argument in transform/select/combine
The idea is that it would only use rows where none of the observations for the variables used in the call are missing. (It is possible because user must already specify which variables are used in a call to transform/select/combine).
That would make it easier to skip missing without, and, in particular, to handle the case of several variables (or weights).
transform(df, [:x, :y] => (x,y) -> corr(x,y), skipmissing = true)