JuliaDB.jl
JuliaDB.jl copied to clipboard
table(::DataFrame) converts Missing to DataValue
trafficstars
Even though the Doc reads that Union{Missing, T} is the default type, the table function converts that Union to DataValue.
julia> df = DataFrames.DataFrame(mis = Union{Missing, Int}[missing])
1×1 DataFrames.DataFrame
│ Row │ mis │
│ │ Int64⍰ │
├─────┼─────────┤
│ 1 │ missing │
julia> table(df)
Table with 1 rows, 1 columns:
mis
───
#NA