All columns in my DataFrame have the sci type Union{Continuous, Count} and I’m having trouble coercing them to Continuous. I tried the following two ways
coerce(X, Count=>Continuous)
X |> eachcol .|> a -> coerce(a, Continuous)
the first one doesn’t work and the second returns an error.
`float` not defined on abstractly-typed arrays; please convert to a more specific type
Interesting case. I don’t think ScientificTypes currently handles this directly. It’s a bit weird as it looks like you have mixed eltype where you would ordinarily expect promotion to have occurred. You’ll need to force promotion manually first. Here’s the idea: