Another UndefRefError: access to undefined reference

forse qualcosa del genere ha creato Il problema?

m=Matrix{Array{String}}(undef, 2, 2)
julia> m[1]=["a"]
1-element Vector{String}:
 "a"

julia> m[2]=["b"]
1-element Vector{String}:
 "b"

julia> m[3]=Array{String}(undef,2)
2-element Vector{String}:
 #undef
 #undef

julia> m[4]=["c"]
1-element Vector{String}:
 "c"

julia> m
2×2 Matrix{Array{String}}:
 ["a"]  [#undef, #undef]
 ["b"]  ["c"]

julia> using DataFrames

using DataFrames

df=DataFrame(m,:auto)

unique(df,[:x2])

There weren’t undef values in the data frame. I need to revisit the dataset from the date I originally posted and see what caused the error.

1 Like