I am trying to create and save simple array using either of the two methods:

```
using CSV, DataFrames
#Attempt 1
let
N = 20
My_Array = []
i = 0
for b=2:N-1
i += 1
summation = 0.0
for n=1:5
summation -= n^2 * log(2*n)
end
push!(My_Array, summation)
end
fileOut = "output_array.csv"
CSV.write(fileOut, DataFrame(My_Array), header = false)
end
#Attempt 2
let
N = 20
My_Array = Array{Float64}(undef, N)
i = 0
for b=2:N-1
i += 1
summation = 0.0
for n=1:5
summation -= n^2 * log(2*n)
end
My_Array[i] = summation
end
fileOut = "output_array.csv"
CSV.write(fileOut, DataFrame(My_Array), header = false)
end
```

I am struggling to find the reason for and the meaning to the following error message:

ERROR: LoadError: ArgumentError: ‘Vector{Any}’ iterates ‘Float64’ values, which doesn’t satisfy the Tables.jl

`AbstractRow`

interface