this is my code:

```
using StatsBase,DelimitedFiles
#function Characteristics(Data,)
global max_index_mean_var=Matrix{Matrix{Float64}}(undef,4*size(Data,1),size(Data,2))
# global mean_var=Matrix{Matrix{Float64}}(undef,2*size(Data,1),size(Data,2))
for i=1:size(Data,1)
j=1:size(Data,2)
#max_index_mean_var[4*i-3,j]=maximum(Data[i,j],dims=1)
max_index_mean_var[4*i-3,j]=getindex.(findmax(Data[i,j],dims=1)[1],1)
#max_index_mean_var[4*i-2,j]=getindex.(getindex(findmax(Data[i,j][1],dims=1),1))
#max_index_mean_var[4*i-1,j]=mean_and_var(Data[i,j],2)[1]
#max_index_mean_var[4*i,j]=mean_and_var(Data[i,j],2)[2]
end
```

this is the "Data"in my code :

this is the error:

ERROR: LoadError: MethodError: no method matching isless(::Array{Float64,2}, ::Array{Float64,2})

Closest candidates are:

isless(::Missing, ::Any) at missing.jl:87

isless(::Union{CategoricalString{R}, CategoricalValue{T,R} where T} where R, ::Any) at C:\Users\27990.juliapro\JuliaPro_v1.4.2-1\packages\CategoricalArrays\dmrjI\src\value.jl:191

isless(::Any, ::Missing) at missing.jl:88

I tried to fix the code, but nothing worked,I don’t think this code is logically flawed,why???

please help me!thanks!!!