Hello
After creation of a DataFrame:
xd = DataFrame(name=String,typ=Float64,min=Float64,max=Float64,law=String,avg=Float64,std=Float64)
To simplify filling data, I used in the past the following command
push!(xd,(name=“Voff”,typ=0,min=-850e-6,max=850e-6,law=“uniform”,avg=(max+min)/2,std=(max-min)/8))
avg and std (the two last column values) were calculated from other column values using the variable name of the other columns.
With Julia 1.0 and after, this seems not be possible anymore. What could be the solution to compute automatically avg and std (in one command line to simplify the data entry if possible).
This is a NamedTuple issue, since you can still push a NamedTuple to a DataFrame, you just can’t do the calculation on the fly. but I can’t comment on whether or not the constructor changed.