Matt Bauman

Results 149 comments of Matt Bauman

Sure, this seems reasonable.

Surely `mean(skipmissing(x); init=missing)` would just always return `missing`? But yes, this seems like a nice addition for other uses.

> I'd argue that we should just go ahead and specify that `init` is _only_ used for empty collections for these two functions since there's by definition no truly neutral...

I think all these cases were fixed by #150.

> ``` > julia> cor(fill(missing,4,4)) #this is the expected result > 4×4 Matrix{Missing}: > missing missing missing missing > missing missing missing missing > missing missing missing missing > missing...

This appears to be fixed since Julia v1.9: ``` ▶ julia +1.9 _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _...

``` jl julia> methods(convert, Tuple{Any,Any,Any,Vararg{Any}}) 7-element Array{Any,1}: convert(::Type{ASCIIString}, a::Array{UInt8,1}, invalids_as::ASCIIString) at ascii.jl:115 convert(::Type{ASCIIString}, a::Array{UInt8,1}, invalids_as::AbstractString) at ascii.jl:132 convert(::Type{UTF8String}, a::Array{UInt8,1}, invalids_as::AbstractString) at unicode/utf8.jl:293 convert{Tv

Great to see this nearing a release! Nice work @johnmyleswhite and @davidagold! I still stand by my comments in the linked Julia issue: I think `similar` can really only accept...

Glad to hear you're convinced. :-) Perhaps `NullableArray` could have another name for this operation (`similarnullable`?), but that might just make things more confused. Yes, I definitely agree that you...

The best practices here are still evolving a bit but I'm happy to help develop a template that has inputs, outputs and some basic structure.