-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Description
(I am sure that this problem comes just because I am a noob but I don't really know what to do with it so please bear with me...)
ws = [10.0, 20.0, 30.0]
pottype = "linear"
simulations = CSV.read("pnjunction_simulations.tsv"; delim='\t') # returns a 54x8 DataFrame
for w in ws
parameters = Dict(
:E=>E,:leng=>leng, :wid=>wid, :w=>w, :B=>B,
:Dk=>Dk, :V0=>V0, :pottype=>pottype)
dataframe = DataFrame(; parameters...)
simulations = vcat(simulations, dataframe)
end
CSV.write("pnjunction_simulations.tsv", simulations; delim='\t')The last line gives me error:
SystemError: opening file pnjunction_simulations.tsv: Invalid argument
(P.S.: If there is a more "standard" way to add rows to a dataframe, besides this vcat I am doing, you are welcomed to let me know)
Metadata
Metadata
Assignees
Labels
No labels