#-----------------------------------------------------------------------------------------------
# 1st run - packages installation

# ERROR: LoadError: ArgumentError: Package DataFrames not found in current path:
# - Run `import Pkg; Pkg.add("DataFrames")` to install the DataFrames package.
import Pkg; Pkg.add("DataFrames")
import Pkg; 
Pkg.add("CSV")
Pkg.add("StatsBase")

#-----------------------------------------------------------------------------------------------
using DataFrames, CSV, Statistics, StatsBase
data = CSV.read("../externals/Core.Math.Data/data/Pejcic_318.csv", copycols = true)

# @show data.ATV
# println()

for col in eachcol(data); 
    if  (
        eltype(col[2]) <: Real) 
        println(mean(col[2])
        ); 
    end; 
end;